Package com.azure.storage.common.sas
Class AccountSasQueryParameters
- java.lang.Object
-
- com.azure.storage.common.sas.BaseSasQueryParameters
-
- com.azure.storage.common.sas.AccountSasQueryParameters
-
@Deprecated public final class AccountSasQueryParameters extends BaseSasQueryParameters
Deprecated.Please use the generateSas method on the desired service client after initializingAccountSasSignatureValues
.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 theAccountSasSignatureValues
type. Once generated, it can be set on a ServiceClientBuilder object to be constructed as part of a URL or it can be encoded into aString
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
encode()
Deprecated.Please use the generateSas method on the desired service client after initializingAccountSasSignatureValues
.String
getResourceTypes()
Deprecated.Please useAccountSasSignatureValues
String
getServices()
Deprecated.Please useAccountSasSignatureValues
-
Methods inherited from class com.azure.storage.common.sas.BaseSasQueryParameters
formatQueryParameterDate, getExpiryTime, getPermissions, getProtocol, getQueryParameter, getQueryParameter, getSasIpRange, getSignature, getStartTime, getVersion, tryAppendQueryParameter
-
-
-
-
Method Detail
-
getServices
@Deprecated public String getServices()
Deprecated.Please useAccountSasSignatureValues
- Returns:
- The storage services being accessed (only for Account SAS). Please refer to
AccountSasService
for more details.
-
getResourceTypes
@Deprecated public String getResourceTypes()
Deprecated.Please useAccountSasSignatureValues
- Returns:
- The storage resource types being accessed (only for Account SAS). Please refer to
AccountSasResourceType
for more details.
-
encode
@Deprecated public String encode()
Deprecated.Please use the generateSas method on the desired service client after initializingAccountSasSignatureValues
.Encodes all SAS query parameters into a string that can be appended to a URL.- Specified by:
encode
in classBaseSasQueryParameters
- Returns:
- A
String
representing the SAS query parameters.
-
-