public final class DataLakeServiceSasSignatureValues extends Object
| Constructor and Description |
|---|
DataLakeServiceSasSignatureValues(OffsetDateTime expiryTime,
FileSystemSasPermission permissions)
Creates an object with the specified expiry time and permissions
|
DataLakeServiceSasSignatureValues(OffsetDateTime expiryTime,
PathSasPermission permissions)
Creates an object with the specified expiry time and permissions
|
DataLakeServiceSasSignatureValues(String identifier)
Creates an object with the specified identifier.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheControl() |
String |
getContentDisposition() |
String |
getContentEncoding() |
String |
getContentLanguage() |
String |
getContentType() |
OffsetDateTime |
getExpiryTime() |
String |
getIdentifier() |
String |
getPermissions() |
com.azure.storage.common.sas.SasProtocol |
getProtocol() |
com.azure.storage.common.sas.SasIpRange |
getSasIpRange() |
OffsetDateTime |
getStartTime() |
String |
getVersion() |
DataLakeServiceSasSignatureValues |
setCacheControl(String cacheControl)
Sets the cache-control header for the SAS.
|
DataLakeServiceSasSignatureValues |
setContentDisposition(String contentDisposition)
Sets the content-disposition header for the SAS.
|
DataLakeServiceSasSignatureValues |
setContentEncoding(String contentEncoding)
Sets the content-encoding header for the SAS.
|
DataLakeServiceSasSignatureValues |
setContentLanguage(String contentLanguage)
Sets the content-language header for the SAS.
|
DataLakeServiceSasSignatureValues |
setContentType(String contentType)
Sets the content-type header for the SAS.
|
DataLakeServiceSasSignatureValues |
setExpiryTime(OffsetDateTime expiryTime)
Sets the time after which the SAS will no longer work.
|
DataLakeServiceSasSignatureValues |
setIdentifier(String identifier)
Sets the name of the access policy on the file system this SAS references if any.
|
DataLakeServiceSasSignatureValues |
setPermissions(FileSystemSasPermission permissions)
Sets the File System permissions allowed by the SAS.
|
DataLakeServiceSasSignatureValues |
setPermissions(PathSasPermission permissions)
Sets the Path permissions allowed by the SAS.
|
DataLakeServiceSasSignatureValues |
setProtocol(com.azure.storage.common.sas.SasProtocol protocol)
Sets the
SasProtocol which determines the protocols allowed by the SAS. |
DataLakeServiceSasSignatureValues |
setSasIpRange(com.azure.storage.common.sas.SasIpRange sasIpRange)
Sets the
SasIpRange which determines the IP ranges that are allowed to use the SAS. |
DataLakeServiceSasSignatureValues |
setStartTime(OffsetDateTime startTime)
Sets when the SAS will take effect.
|
DataLakeServiceSasSignatureValues |
setVersion(String version)
Sets the version of the service this SAS will target.
|
public DataLakeServiceSasSignatureValues(OffsetDateTime expiryTime, FileSystemSasPermission permissions)
expiryTime - The time after which the SAS will no longer work.permissions - FileSystemSasPermission allowed by the SAS.public DataLakeServiceSasSignatureValues(OffsetDateTime expiryTime, PathSasPermission permissions)
expiryTime - When the SAS will no longer workpermissions - PathSasPermission allowed by the SASpublic DataLakeServiceSasSignatureValues(String identifier)
UserDelegationKey SAS.identifier - Name of the access policypublic String getVersion()
public DataLakeServiceSasSignatureValues setVersion(String version)
version - Version to targetpublic com.azure.storage.common.sas.SasProtocol getProtocol()
SasProtocol which determines the protocols allowed by the SAS.public DataLakeServiceSasSignatureValues setProtocol(com.azure.storage.common.sas.SasProtocol protocol)
SasProtocol which determines the protocols allowed by the SAS.protocol - Protocol for the SASpublic OffsetDateTime getStartTime()
public DataLakeServiceSasSignatureValues setStartTime(OffsetDateTime startTime)
startTime - When the SAS takes effectpublic OffsetDateTime getExpiryTime()
public DataLakeServiceSasSignatureValues setExpiryTime(OffsetDateTime expiryTime)
expiryTime - When the SAS will no longer workpublic String getPermissions()
FileSystemSasPermission or
PathSasPermission depending on the resource being accessed for help determining the permissions allowed.public DataLakeServiceSasSignatureValues setPermissions(PathSasPermission permissions)
permissions - PathSasPermissionNullPointerException - if permissions is null.public DataLakeServiceSasSignatureValues setPermissions(FileSystemSasPermission permissions)
permissions - FileSystemSasPermissionNullPointerException - if permissions is null.public com.azure.storage.common.sas.SasIpRange getSasIpRange()
SasIpRange which determines the IP ranges that are allowed to use the SAS.public DataLakeServiceSasSignatureValues setSasIpRange(com.azure.storage.common.sas.SasIpRange sasIpRange)
SasIpRange which determines the IP ranges that are allowed to use the SAS.sasIpRange - Allowed IP range to setpublic String getIdentifier()
public DataLakeServiceSasSignatureValues setIdentifier(String identifier)
identifier - Name of the access policypublic String getCacheControl()
public DataLakeServiceSasSignatureValues setCacheControl(String cacheControl)
cacheControl - Cache-Control header valuepublic String getContentDisposition()
public DataLakeServiceSasSignatureValues setContentDisposition(String contentDisposition)
contentDisposition - Content-Disposition header valuepublic String getContentEncoding()
public DataLakeServiceSasSignatureValues setContentEncoding(String contentEncoding)
contentEncoding - Content-Encoding header valuepublic String getContentLanguage()
public DataLakeServiceSasSignatureValues setContentLanguage(String contentLanguage)
contentLanguage - Content-Language header valuepublic String getContentType()
public DataLakeServiceSasSignatureValues setContentType(String contentType)
contentType - Content-Type header valueCopyright © 2020 Microsoft Corporation. All rights reserved.