public final class AccountSASPermission
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
add
Permission to add messages, table entities, and append to blobs granted.
|
boolean |
create
Permission to create blobs and files granted.
|
boolean |
delete
Permission to delete resources granted.
|
boolean |
list
Permission to list blob containers, blobs, shares, directories, and files granted.
|
boolean |
processMessages
Permission to get and delete messages granted.
|
boolean |
read
Permission to read resources and list queues and tables granted.
|
boolean |
update
Permissions to update messages and table entities granted.
|
boolean |
write
Permission to write resources granted.
|
Constructor and Description |
---|
AccountSASPermission()
Initializes an
AccountSASPermssion object with all fields set to false. |
Modifier and Type | Method and Description |
---|---|
static AccountSASPermission |
parse(java.lang.String permString)
Creates an
AccountSASPermission from the specified permissions string. |
java.lang.String |
toString()
Converts the given permissions to a
String . |
public boolean read
public boolean add
public boolean create
public boolean write
public boolean delete
public boolean list
public boolean update
public boolean processMessages
public AccountSASPermission()
AccountSASPermssion
object with all fields set to false.public java.lang.String toString()
String
. Using this method will guarantee the permissions are in an
order accepted by the service.toString
in class java.lang.Object
String
which represents the AccountSASPermissions
.public static AccountSASPermission parse(java.lang.String permString)
AccountSASPermission
from the specified permissions string. This method will throw an
IllegalArgumentException
if it encounters a character that does not correspond to a valid permission.permString
- A String
which represents the SharedAccessAccountPermissions
.AccountSASPermission
generated from the given String
.