Package com.azure.storage.queue.sas
Class QueueServiceSasQueryParameters
- java.lang.Object
-
- com.azure.storage.common.sas.BaseSasQueryParameters
-
- com.azure.storage.queue.sas.QueueServiceSasQueryParameters
-
@Deprecated public final class QueueServiceSasQueryParameters extends BaseSasQueryParameters
Deprecated.Please use the generateSas method on the desired queue client after initializingQueueServiceSasSignatureValues.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 theQueueServiceSasSignatureValuestype. Once generated, it can be set on aQueueClientBuilderobject to be constructed as part of a URL or it can be encoded into aStringand 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
Constructors Constructor Description QueueServiceSasQueryParameters(Map<String,String[]> queryParametersMap, boolean removeSasParametersFromMap)Deprecated.Please useQueueServiceSasSignatureValues
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringencode()Deprecated.Please use the generateSas method on the desired queue client after initializingQueueServiceSasSignatureValues.StringgetIdentifier()Deprecated.Please useQueueServiceSasSignatureValues-
Methods inherited from class com.azure.storage.common.sas.BaseSasQueryParameters
formatQueryParameterDate, getExpiryTime, getPermissions, getProtocol, getQueryParameter, getQueryParameter, getSasIpRange, getSignature, getStartTime, getVersion, tryAppendQueryParameter
-
-
-
-
Constructor Detail
-
QueueServiceSasQueryParameters
@Deprecated public QueueServiceSasQueryParameters(Map<String,String[]> queryParametersMap, boolean removeSasParametersFromMap)
Deprecated.Please useQueueServiceSasSignatureValuesCreates a newQueueServiceSasQueryParametersobject.- Parameters:
queryParametersMap- All query parameters for the request as key-value pairsremoveSasParametersFromMap- Whentrue, the SAS query parameters will be removed fromqueryParametersMap
-
-
Method Detail
-
getIdentifier
@Deprecated public String getIdentifier()
Deprecated.Please useQueueServiceSasSignatureValues- Returns:
- The signed identifier (only for
QueueServiceSasSignatureValues) ornull. Please see here for more information.
-
encode
@Deprecated public String encode()
Deprecated.Please use the generateSas method on the desired queue client after initializingQueueServiceSasSignatureValues.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.
-
-