public final class AccountSASSignatureValues
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Date |
expiryTime
A
java.util.Date object which contains the shared access signature expiry time. |
IPRange |
ipRange
An
IPRange representing the IP addresses permitted to use this SAS. |
java.lang.String |
permissions
A
String specifying which operations the SAS user may perform. |
SASProtocol |
protocol
A
SASProtocol value representing the allowed Internet protocols. |
java.lang.String |
resourceTypes
A
String that contains the values that indicate the resource types accessible with this SAS. |
java.lang.String |
services
A
String that contains the values that indicate the services accessible with this SAS. |
java.util.Date |
startTime
A
java.util.Date object which contains the shared access signature start time. |
java.lang.String |
version
If null or empty, this defaults to the service version targeted by this version of the library.
|
Constructor and Description |
---|
AccountSASSignatureValues()
Initializes an
AccountSASSignatureValues object with the version number set to the default and all
other values empty. |
Modifier and Type | Method and Description |
---|---|
SASQueryParameters |
generateSASQueryParameters(SharedKeyCredentials sharedKeyCredentials)
Generates
SASQueryParameters object which contains all SAS query parameters. |
public java.lang.String version
public SASProtocol protocol
SASProtocol
value representing the allowed Internet protocols.public java.util.Date startTime
java.util.Date
object which contains the shared access signature start time.public java.util.Date expiryTime
java.util.Date
object which contains the shared access signature expiry time.public java.lang.String permissions
String
specifying which operations the SAS user may perform. Please refer to
AccountSASPermission
for help constructing the permissions string.public java.lang.String services
String
that contains the values that indicate the services accessible with this SAS. Please refer to
AccountSASService
to construct this value.public java.lang.String resourceTypes
String
that contains the values that indicate the resource types accessible with this SAS. Please refer
to AccountSASResourceType
to construct this value.public AccountSASSignatureValues()
AccountSASSignatureValues
object with the version number set to the default and all
other values empty. For more information on how to use this class, please refer to
https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-saspublic SASQueryParameters generateSASQueryParameters(SharedKeyCredentials sharedKeyCredentials)
SASQueryParameters
object which contains all SAS query parameters.sharedKeyCredentials
- A SharedKeyCredentials
object for the storage account and corresponding primary or secondary key.SASQueryParameters
object which contains all SAS query parameters.