ServiceSasParameters Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ServiceSasParameters
- com.
public final class ServiceSasParameters
The parameters to list service SAS credentials of a specific resource.
Constructor Summary
Constructor | Description |
---|---|
ServiceSasParameters() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cacheControl()
Get the cache |
String |
canonicalizedResource()
Get the canonicalized |
String |
contentDisposition()
Get the content |
String |
contentEncoding()
Get the content |
String |
contentLanguage()
Get the content |
String |
contentType()
Get the content |
String |
identifier()
Get the identifier property: 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 the ip |
String |
keyToSign()
Get the key |
String |
partitionKeyEnd()
Get the partition |
String |
partitionKeyStart()
Get the partition |
Permissions |
permissions()
Get the permissions property: The signed permissions for the service SAS. |
Http |
protocols()
Get the protocols property: The protocol permitted for a request made with the account SAS. |
Signed |
resource()
Get the resource property: The signed services accessible with the service SAS. |
String |
rowKeyEnd()
Get the row |
String |
rowKeyStart()
Get the row |
Offset |
sharedAccessExpiryTime()
Get the shared |
Offset |
sharedAccessStartTime()
Get the shared |
void |
validate()
Validates the instance. |
Service |
withCacheControl(String cacheControl)
Set the cache |
Service |
withCanonicalizedResource(String canonicalizedResource)
Set the canonicalized |
Service |
withContentDisposition(String contentDisposition)
Set the content |
Service |
withContentEncoding(String contentEncoding)
Set the content |
Service |
withContentLanguage(String contentLanguage)
Set the content |
Service |
withContentType(String contentType)
Set the content |
Service |
withIdentifier(String identifier)
Set the identifier property: A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. |
Service |
withIpAddressOrRange(String ipAddressOrRange)
Set the ip |
Service |
withKeyToSign(String keyToSign)
Set the key |
Service |
withPartitionKeyEnd(String partitionKeyEnd)
Set the partition |
Service |
withPartitionKeyStart(String partitionKeyStart)
Set the partition |
Service |
withPermissions(Permissions permissions)
Set the permissions property: The signed permissions for the service SAS. |
Service |
withProtocols(HttpProtocol protocols)
Set the protocols property: The protocol permitted for a request made with the account SAS. |
Service |
withResource(SignedResource resource)
Set the resource property: The signed services accessible with the service SAS. |
Service |
withRowKeyEnd(String rowKeyEnd)
Set the row |
Service |
withRowKeyStart(String rowKeyStart)
Set the row |
Service |
withSharedAccessExpiryTime(OffsetDateTime sharedAccessExpiryTime)
Set the shared |
Service |
withSharedAccessStartTime(OffsetDateTime sharedAccessStartTime)
Set the shared |
Methods inherited from java.lang.Object
Constructor Details
ServiceSasParameters
public ServiceSasParameters()
Creates an instance of ServiceSasParameters class.
Method Details
cacheControl
public String cacheControl()
Get the cacheControl property: The response header override for cache control.
Returns:
canonicalizedResource
public String canonicalizedResource()
Get the canonicalizedResource property: The canonical path to the signed resource.
Returns:
contentDisposition
public String contentDisposition()
Get the contentDisposition property: The response header override for content disposition.
Returns:
contentEncoding
public String contentEncoding()
Get the contentEncoding property: The response header override for content encoding.
Returns:
contentLanguage
public String contentLanguage()
Get the contentLanguage property: The response header override for content language.
Returns:
contentType
public String contentType()
Get the contentType property: The response header override for content type.
Returns:
identifier
public String identifier()
Get the identifier property: A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
Returns:
ipAddressOrRange
public String ipAddressOrRange()
Get the ipAddressOrRange property: An IP address or a range of IP addresses from which to accept requests.
Returns:
keyToSign
public String keyToSign()
Get the keyToSign property: The key to sign the account SAS token with.
Returns:
partitionKeyEnd
public String partitionKeyEnd()
Get the partitionKeyEnd property: The end of partition key.
Returns:
partitionKeyStart
public String partitionKeyStart()
Get the partitionKeyStart property: The start of partition key.
Returns:
permissions
public Permissions permissions()
Get the permissions property: The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
Returns:
protocols
public HttpProtocol protocols()
Get the protocols property: The protocol permitted for a request made with the account SAS.
Returns:
resource
public SignedResource resource()
Get the resource property: The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
Returns:
rowKeyEnd
public String rowKeyEnd()
Get the rowKeyEnd property: The end of row key.
Returns:
rowKeyStart
public String rowKeyStart()
Get the rowKeyStart property: The start of row key.
Returns:
sharedAccessExpiryTime
public OffsetDateTime sharedAccessExpiryTime()
Get the sharedAccessExpiryTime property: The time at which the shared access signature becomes invalid.
Returns:
sharedAccessStartTime
public OffsetDateTime sharedAccessStartTime()
Get the sharedAccessStartTime property: The time at which the SAS becomes valid.
Returns:
validate
public void validate()
Validates the instance.
withCacheControl
public ServiceSasParameters withCacheControl(String cacheControl)
Set the cacheControl property: The response header override for cache control.
Parameters:
Returns:
withCanonicalizedResource
public ServiceSasParameters withCanonicalizedResource(String canonicalizedResource)
Set the canonicalizedResource property: The canonical path to the signed resource.
Parameters:
Returns:
withContentDisposition
public ServiceSasParameters withContentDisposition(String contentDisposition)
Set the contentDisposition property: The response header override for content disposition.
Parameters:
Returns:
withContentEncoding
public ServiceSasParameters withContentEncoding(String contentEncoding)
Set the contentEncoding property: The response header override for content encoding.
Parameters:
Returns:
withContentLanguage
public ServiceSasParameters withContentLanguage(String contentLanguage)
Set the contentLanguage property: The response header override for content language.
Parameters:
Returns:
withContentType
public ServiceSasParameters withContentType(String contentType)
Set the contentType property: The response header override for content type.
Parameters:
Returns:
withIdentifier
public ServiceSasParameters withIdentifier(String identifier)
Set the identifier property: A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
Parameters:
Returns:
withIpAddressOrRange
public ServiceSasParameters withIpAddressOrRange(String ipAddressOrRange)
Set the ipAddressOrRange property: An IP address or a range of IP addresses from which to accept requests.
Parameters:
Returns:
withKeyToSign
public ServiceSasParameters withKeyToSign(String keyToSign)
Set the keyToSign property: The key to sign the account SAS token with.
Parameters:
Returns:
withPartitionKeyEnd
public ServiceSasParameters withPartitionKeyEnd(String partitionKeyEnd)
Set the partitionKeyEnd property: The end of partition key.
Parameters:
Returns:
withPartitionKeyStart
public ServiceSasParameters withPartitionKeyStart(String partitionKeyStart)
Set the partitionKeyStart property: The start of partition key.
Parameters:
Returns:
withPermissions
public ServiceSasParameters withPermissions(Permissions permissions)
Set the permissions property: The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
Parameters:
Returns:
withProtocols
public ServiceSasParameters withProtocols(HttpProtocol protocols)
Set the protocols property: The protocol permitted for a request made with the account SAS.
Parameters:
Returns:
withResource
public ServiceSasParameters withResource(SignedResource resource)
Set the resource property: The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
Parameters:
Returns:
withRowKeyEnd
public ServiceSasParameters withRowKeyEnd(String rowKeyEnd)
Set the rowKeyEnd property: The end of row key.
Parameters:
Returns:
withRowKeyStart
public ServiceSasParameters withRowKeyStart(String rowKeyStart)
Set the rowKeyStart property: The start of row key.
Parameters:
Returns:
withSharedAccessExpiryTime
public ServiceSasParameters withSharedAccessExpiryTime(OffsetDateTime sharedAccessExpiryTime)
Set the sharedAccessExpiryTime property: The time at which the shared access signature becomes invalid.
Parameters:
Returns:
withSharedAccessStartTime
public ServiceSasParameters withSharedAccessStartTime(OffsetDateTime sharedAccessStartTime)
Set the sharedAccessStartTime property: The time at which the SAS becomes valid.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for