CommonSasQueryParameters Class
- java.
lang. Object - com.
azure. storage. common. sas. CommonSasQueryParameters
- com.
public class CommonSasQueryParameters
Represents the components that make up an Azure Storage SAS' query parameters. This type is not constructed directly by the user; it is only generated by the URLParts type. NOTE: Instances of this class are immutable to ensure thread safety.
Constructor Summary
Constructor | Description |
---|---|
CommonSasQueryParameters(Map<String,String[]> queryParamsMap, boolean removeSasParametersFromMap) |
Creates a new CommonSasQueryParameters object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
encode()
Encodes all SAS query parameters into a string that can be appended to a URL. |
String | getAgentObjectId() |
String | getCacheControl() |
String | getContentDisposition() |
String | getContentEncoding() |
String | getContentLanguage() |
String | getContentType() |
String | getCorrelationId() |
Integer | getDirectoryDepth() |
String | getEncryptionScope() |
Offset |
getExpiryTime() |
String | getIdentifier() |
Offset |
getKeyExpiry() |
String | getKeyObjectId() |
String | getKeyService() |
Offset |
getKeyStart() |
String | getKeyTenantId() |
String | getKeyVersion() |
String | getPermissions() |
String | getPreauthorizedAgentObjectId() |
Sas |
getProtocol() |
String | getResource() |
String | getResourceTypes() |
Sas |
getSasIpRange() |
String | getServices() |
String | getSignature() |
Offset |
getStartTime() |
String | getVersion() |
Methods inherited from java.lang.Object
Constructor Details
CommonSasQueryParameters
public CommonSasQueryParameters(Map
Creates a new CommonSasQueryParameters object.
Parameters:
true
, the SAS query parameters will be removed from
queryParamsMap
Method Details
encode
public String encode()
Encodes all SAS query parameters into a string that can be appended to a URL.
Returns:
String
representing the SAS query parameters.getAgentObjectId
public String getAgentObjectId()
Returns:
getCacheControl
public String getCacheControl()
Returns:
getContentDisposition
public String getContentDisposition()
Returns:
getContentEncoding
public String getContentEncoding()
Returns:
getContentLanguage
public String getContentLanguage()
Returns:
getContentType
public String getContentType()
Returns:
getCorrelationId
public String getCorrelationId()
Returns:
getDirectoryDepth
public Integer getDirectoryDepth()
Returns:
getEncryptionScope
public String getEncryptionScope()
Returns:
getExpiryTime
public OffsetDateTime getExpiryTime()
Returns:
getIdentifier
getKeyExpiry
public OffsetDateTime getKeyExpiry()
Returns:
getKeyObjectId
public String getKeyObjectId()
Returns:
getKeyService
public String getKeyService()
Returns:
getKeyStart
public OffsetDateTime getKeyStart()
Returns:
getKeyTenantId
public String getKeyTenantId()
Returns:
getKeyVersion
public String getKeyVersion()
Returns:
getPermissions
public String getPermissions()
Returns:
getPreauthorizedAgentObjectId
public String getPreauthorizedAgentObjectId()
Returns:
getProtocol
public SasProtocol getProtocol()
Returns:
null
. Please refer to SasProtocol for more details.getResource
public String getResource()
Returns:
getResourceTypes
public String getResourceTypes()
Returns:
getSasIpRange
getServices
public String getServices()
Returns:
getSignature
public String getSignature()
Returns:
getStartTime
public OffsetDateTime getStartTime()
Returns:
null
.getVersion
public String getVersion()
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