public final class SASQueryParameters
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
encode()
Encodes all SAS query parameters into a string that can be appended to a URL.
|
java.util.Date |
getExpiryTime()
A
java.util.Date representing the expiry time for this SAS token. |
java.lang.String |
getIdentifier()
A
String representing the signed identifier (only for Service SAS) or null. |
IPRange |
getIpRange()
A
IPRange representing the range of valid IP addresses for this SAS token or null. |
java.lang.String |
getPermissions()
A
String representing the storage permissions or null. |
SASProtocol |
getProtocol()
A
String representing the allowed HTTP protocol(s) or null. |
java.lang.String |
getResource()
A
String representing the storage container or blob (only for Service SAS). |
java.lang.String |
getResourceTypes()
A
String representing the storage resource types being accessed (only for Account SAS). |
java.lang.String |
getServices()
A
String representing the storage services being accessed (only for Account SAS). |
java.lang.String |
getSignature()
A
String representing the signature for the SAS token. |
java.util.Date |
getStartTime()
A
java.util.Date representing the start time for this SAS token or null. |
java.lang.String |
getVersion()
A
String representing the storage version. |
public java.lang.String getVersion()
String representing the storage version.public java.lang.String getServices()
String representing the storage services being accessed (only for Account SAS). Please refer to
AccountSASService for more details.public java.lang.String getResourceTypes()
String representing the storage resource types being accessed (only for Account SAS). Please refer to
AccountSASResourceType for more details.public SASProtocol getProtocol()
String representing the allowed HTTP protocol(s) or null. Please refer to SASProtocol
for more details.public java.util.Date getStartTime()
java.util.Date representing the start time for this SAS token or null.public java.util.Date getExpiryTime()
java.util.Date representing the expiry time for this SAS token.public IPRange getIpRange()
IPRange representing the range of valid IP addresses for this SAS token or null.public java.lang.String getIdentifier()
String representing the signed identifier (only for Service SAS) or null.public java.lang.String getResource()
String representing the storage container or blob (only for Service SAS).public java.lang.String getPermissions()
String representing the storage permissions or null. Please refer to
AccountSASPermission, BlobSASPermission, or ContainerSASPermission for more details.public java.lang.String getSignature()
String representing the signature for the SAS token.public java.lang.String encode()
String representing all SAS query parameters.