public final class AccountSASService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
blob
Permission to access blob resources granted.
|
boolean |
file
Permission to access file resources granted.
|
boolean |
queue
Permission to access queue resources granted.
|
boolean |
table
Permission to access table resources granted.
|
Constructor and Description |
---|
AccountSASService()
Initializes an
AccountSASService object with all fields set to false. |
Modifier and Type | Method and Description |
---|---|
static AccountSASService |
parse(java.lang.String servicesString)
Creates an
AccountSASService from the specified services string. |
java.lang.String |
toString()
Converts the given services to a
String . |
public boolean blob
public boolean file
public boolean queue
public boolean table
public AccountSASService()
AccountSASService
object with all fields set to false.public java.lang.String toString()
String
. Using this method will guarantee the services are in an order
accepted by the service.toString
in class java.lang.Object
String
which represents the AccountSASServices
.public static AccountSASService parse(java.lang.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
.