public final class AccountSASService extends Object
AccountSASSignatureValues
object. It is possible to construct the services string without this class, but
the order of the services is particular and this class guarantees correctness.Constructor and Description |
---|
AccountSASService()
Initializes an
AccountSASService object with all fields set to false. |
Modifier and Type | Method and Description |
---|---|
boolean |
blob()
Permission to access blob resources granted.
|
boolean |
file()
Permission to access file resources granted.
|
static AccountSASService |
parse(String servicesString)
Creates an
AccountSASService from the specified services string. |
boolean |
queue()
Permission to access queue resources granted.
|
boolean |
table()
Permission to access table resources granted.
|
String |
toString()
Converts the given services to a
String . |
AccountSASService |
withBlob(boolean blob)
Permission to access blob resources granted.
|
AccountSASService |
withFile(boolean file)
Permission to access file resources granted.
|
AccountSASService |
withQueue(boolean queue)
Permission to access queue resources granted.
|
AccountSASService |
withTable(boolean table)
Permission to access table resources granted.
|
public AccountSASService()
AccountSASService
object with all fields set to false.public static AccountSASService parse(String servicesString)
AccountSASService
from the specified services string. This method will throw an
IllegalArgumentException
if it encounters a character that does not correspond to a valid service.servicesString
- A String
which represents the SharedAccessAccountServices
.AccountSASService
generated from the given String
.public boolean blob()
public AccountSASService withBlob(boolean blob)
public boolean file()
public AccountSASService withFile(boolean file)
public boolean queue()
public AccountSASService withQueue(boolean queue)
public boolean table()
public AccountSASService withTable(boolean table)
This documentation was released into the public domain.