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.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(String servicesString)
Creates an
AccountSASService from the specified services string. |
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 String toString()
String
. Using this method will guarantee the services are in an order
accepted by the service.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
.Copyright © 2018. All rights reserved.