Package com.azure.storage.blob.sas
Class BlobServiceSasQueryParameters
java.lang.Object
com.azure.storage.common.sas.BaseSasQueryParameters
com.azure.storage.blob.sas.BlobServiceSasQueryParameters
Deprecated.
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
BlobServiceSasSignatureValues type. Once generated, it can be set on
a BlobClientBuilder 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.-
Field Summary
Fields inherited from class com.azure.storage.common.sas.BaseSasQueryParameters
expiryTime, permissions, protocol, sasIpRange, signature, startTime, version -
Constructor Summary
ConstructorsConstructorDescriptionBlobServiceSasQueryParameters(Map<String, String[]> queryParamsMap, boolean removeSasParametersFromMap) Deprecated.Please useBlobServiceSasSignatureValues -
Method Summary
Modifier and TypeMethodDescriptionencode()Deprecated.Please use the generateSas method on the desired blob/container client after initializingBlobServiceSasSignatureValues.Deprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesDeprecated.Please useBlobServiceSasSignatureValuesMethods inherited from class com.azure.storage.common.sas.BaseSasQueryParameters
formatQueryParameterDate, getExpiryTime, getPermissions, getProtocol, getQueryParameter, getQueryParameter, getSasIpRange, getSignature, getStartTime, getVersion, tryAppendQueryParameter
-
Constructor Details
-
BlobServiceSasQueryParameters
@Deprecated public BlobServiceSasQueryParameters(Map<String, String[]> queryParamsMap, boolean removeSasParametersFromMap) Deprecated.Please useBlobServiceSasSignatureValuesCreates a newBlobServiceSasQueryParametersobject.- Parameters:
queryParamsMap- All query parameters for the request as key-value pairsremoveSasParametersFromMap- Whentrue, the SAS query parameters will be removed from queryParamsMap
-
-
Method Details
-
getIdentifier
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The signed identifier (only for
BlobServiceSasSignatureValues) ornull. Please see here for more information.
-
getResource
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The storage container or blob (only for
BlobServiceSasSignatureValues).
-
getCacheControl
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The Cache-Control header value when a client accesses the resource with this sas token.
-
getContentDisposition
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The Content-Disposition header value when a client accesses the resource with this sas token.
-
getContentEncoding
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The Content-Encoding header value when a client accesses the resource with this sas token.
-
getContentLanguage
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The Content-Language header value when a client accesses the resource with this sas token.
-
getContentType
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- The Content-Type header value when a client accesses the resource with this sas token.
-
getKeyObjectId
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the object ID of the key.
-
getKeyTenantId
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the tenant ID of the key.
-
getKeyStart
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the datetime when the key becomes active.
-
getKeyExpiry
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the datetime when the key expires.
-
getKeyService
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the services that are permitted by the key.
-
getKeyVersion
Deprecated.Please useBlobServiceSasSignatureValues- Returns:
- the service version that created the key.
-
encode
Deprecated.Please use the generateSas method on the desired blob/container client after initializingBlobServiceSasSignatureValues.Encodes all SAS query parameters into a string that can be appended to a URL.- Specified by:
encodein classBaseSasQueryParameters- Returns:
- A
Stringrepresenting the SAS query parameters.
-
BlobServiceSasSignatureValues.