public class ServiceSasParameters extends Object
Constructor and Description |
---|
ServiceSasParameters() |
Modifier and Type | Method and Description |
---|---|
String |
cacheControl()
Get the response header override for cache control.
|
String |
canonicalizedResource()
Get the canonical path to the signed resource.
|
String |
contentDisposition()
Get the response header override for content disposition.
|
String |
contentEncoding()
Get the response header override for content encoding.
|
String |
contentLanguage()
Get the response header override for content language.
|
String |
contentType()
Get the response header override for content type.
|
String |
identifier()
Get a unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
|
String |
iPAddressOrRange()
Get an IP address or a range of IP addresses from which to accept requests.
|
String |
keyToSign()
Get the key to sign the account SAS token with.
|
String |
partitionKeyEnd()
Get the end of partition key.
|
String |
partitionKeyStart()
Get the start of partition key.
|
Permissions |
permissions()
Get the signed permissions for the service SAS.
|
HttpProtocol |
protocols()
Get the protocol permitted for a request made with the account SAS.
|
SignedResource |
resource()
Get the signed services accessible with the service SAS.
|
String |
rowKeyEnd()
Get the end of row key.
|
String |
rowKeyStart()
Get the start of row key.
|
org.joda.time.DateTime |
sharedAccessExpiryTime()
Get the time at which the shared access signature becomes invalid.
|
org.joda.time.DateTime |
sharedAccessStartTime()
Get the time at which the SAS becomes valid.
|
ServiceSasParameters |
withCacheControl(String cacheControl)
Set the response header override for cache control.
|
ServiceSasParameters |
withCanonicalizedResource(String canonicalizedResource)
Set the canonical path to the signed resource.
|
ServiceSasParameters |
withContentDisposition(String contentDisposition)
Set the response header override for content disposition.
|
ServiceSasParameters |
withContentEncoding(String contentEncoding)
Set the response header override for content encoding.
|
ServiceSasParameters |
withContentLanguage(String contentLanguage)
Set the response header override for content language.
|
ServiceSasParameters |
withContentType(String contentType)
Set the response header override for content type.
|
ServiceSasParameters |
withIdentifier(String identifier)
Set a unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
|
ServiceSasParameters |
withIPAddressOrRange(String iPAddressOrRange)
Set an IP address or a range of IP addresses from which to accept requests.
|
ServiceSasParameters |
withKeyToSign(String keyToSign)
Set the key to sign the account SAS token with.
|
ServiceSasParameters |
withPartitionKeyEnd(String partitionKeyEnd)
Set the end of partition key.
|
ServiceSasParameters |
withPartitionKeyStart(String partitionKeyStart)
Set the start of partition key.
|
ServiceSasParameters |
withPermissions(Permissions permissions)
Set the signed permissions for the service SAS.
|
ServiceSasParameters |
withProtocols(HttpProtocol protocols)
Set the protocol permitted for a request made with the account SAS.
|
ServiceSasParameters |
withResource(SignedResource resource)
Set the signed services accessible with the service SAS.
|
ServiceSasParameters |
withRowKeyEnd(String rowKeyEnd)
Set the end of row key.
|
ServiceSasParameters |
withRowKeyStart(String rowKeyStart)
Set the start of row key.
|
ServiceSasParameters |
withSharedAccessExpiryTime(org.joda.time.DateTime sharedAccessExpiryTime)
Set the time at which the shared access signature becomes invalid.
|
ServiceSasParameters |
withSharedAccessStartTime(org.joda.time.DateTime sharedAccessStartTime)
Set the time at which the SAS becomes valid.
|
public String canonicalizedResource()
public ServiceSasParameters withCanonicalizedResource(String canonicalizedResource)
canonicalizedResource
- the canonicalizedResource value to setpublic SignedResource resource()
public ServiceSasParameters withResource(SignedResource resource)
resource
- the resource value to setpublic Permissions permissions()
public ServiceSasParameters withPermissions(Permissions permissions)
permissions
- the permissions value to setpublic String iPAddressOrRange()
public ServiceSasParameters withIPAddressOrRange(String iPAddressOrRange)
iPAddressOrRange
- the iPAddressOrRange value to setpublic HttpProtocol protocols()
public ServiceSasParameters withProtocols(HttpProtocol protocols)
protocols
- the protocols value to setpublic org.joda.time.DateTime sharedAccessStartTime()
public ServiceSasParameters withSharedAccessStartTime(org.joda.time.DateTime sharedAccessStartTime)
sharedAccessStartTime
- the sharedAccessStartTime value to setpublic org.joda.time.DateTime sharedAccessExpiryTime()
public ServiceSasParameters withSharedAccessExpiryTime(org.joda.time.DateTime sharedAccessExpiryTime)
sharedAccessExpiryTime
- the sharedAccessExpiryTime value to setpublic String identifier()
public ServiceSasParameters withIdentifier(String identifier)
identifier
- the identifier value to setpublic String partitionKeyStart()
public ServiceSasParameters withPartitionKeyStart(String partitionKeyStart)
partitionKeyStart
- the partitionKeyStart value to setpublic String partitionKeyEnd()
public ServiceSasParameters withPartitionKeyEnd(String partitionKeyEnd)
partitionKeyEnd
- the partitionKeyEnd value to setpublic String rowKeyStart()
public ServiceSasParameters withRowKeyStart(String rowKeyStart)
rowKeyStart
- the rowKeyStart value to setpublic String rowKeyEnd()
public ServiceSasParameters withRowKeyEnd(String rowKeyEnd)
rowKeyEnd
- the rowKeyEnd value to setpublic String keyToSign()
public ServiceSasParameters withKeyToSign(String keyToSign)
keyToSign
- the keyToSign value to setpublic String cacheControl()
public ServiceSasParameters withCacheControl(String cacheControl)
cacheControl
- the cacheControl value to setpublic String contentDisposition()
public ServiceSasParameters withContentDisposition(String contentDisposition)
contentDisposition
- the contentDisposition value to setpublic String contentEncoding()
public ServiceSasParameters withContentEncoding(String contentEncoding)
contentEncoding
- the contentEncoding value to setpublic String contentLanguage()
public ServiceSasParameters withContentLanguage(String contentLanguage)
contentLanguage
- the contentLanguage value to setpublic String contentType()
public ServiceSasParameters withContentType(String contentType)
contentType
- the contentType value to setCopyright © 2019. All rights reserved.