public final class SASQueryParameters extends Object
AccountSASSignatureValues
and ServiceSASSignatureValues
types. Once generated, it can be set on a BlobURLParts
object to be constructed as part of a URL or it can
be encoded into a String
and appended to a URL directly (though caution should be taken here in case there
are existing query parameters, which might affect the appropriate means of appending these query parameters).
NOTE: Instances of this class are immutable to ensure thread safety.Modifier and Type | Method and Description |
---|---|
String |
encode()
Encodes all SAS query parameters into a string that can be appended to a URL.
|
OffsetDateTime |
getExpiryTime() |
String |
getIdentifier() |
IPRange |
getIpRange() |
String |
getPermissions() |
SASProtocol |
getProtocol() |
String |
getResource() |
String |
getResourceTypes() |
String |
getServices() |
String |
getSignature() |
OffsetDateTime |
getStartTime() |
String |
getVersion() |
public String getVersion()
public String getServices()
AccountSASService
for
more details.public String getResourceTypes()
AccountSASResourceType
for more details.public SASProtocol getProtocol()
null
. Please refer to SASProtocol
for more details.public OffsetDateTime getStartTime()
null
.public OffsetDateTime getExpiryTime()
public String getIdentifier()
ServiceSASSignatureValues
) or null
. Please see
here
for more information.public String getResource()
ServiceSASSignatureValues
).public String getPermissions()
AccountSASPermission
, BlobSASPermission
, or ContainerSASPermission
for
more details.public String getSignature()
public String encode()
String
representing all SAS query parameters.This documentation was released into the public domain.