Class PathHttpHeaders
- java.lang.Object
-
- com.azure.storage.file.datalake.models.PathHttpHeaders
-
public final class PathHttpHeaders extends Object
Parameter group.
-
-
Constructor Summary
Constructors Constructor Description PathHttpHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCacheControl()
Get the cacheControl property: Optional.String
getContentDisposition()
Get the contentDisposition property: Optional.String
getContentEncoding()
Get the contentEncoding property: Optional.String
getContentLanguage()
Get the contentLanguage property: Optional.byte[]
getContentMd5()
Get the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.String
getContentType()
Get the contentType property: Optional.byte[]
getTransactionalContentHash()
Get the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.PathHttpHeaders
setCacheControl(String cacheControl)
Set the cacheControl property: Optional.PathHttpHeaders
setContentDisposition(String contentDisposition)
Set the contentDisposition property: Optional.PathHttpHeaders
setContentEncoding(String contentEncoding)
Set the contentEncoding property: Optional.PathHttpHeaders
setContentLanguage(String contentLanguage)
Set the contentLanguage property: Optional.PathHttpHeaders
setContentMd5(byte[] contentMd5)
Set the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.PathHttpHeaders
setContentType(String contentType)
Set the contentType property: Optional.PathHttpHeaders
setTransactionalContentHash(byte[] transactionalContentHash)
Set the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.
-
-
-
Method Detail
-
getCacheControl
public String getCacheControl()
Get the cacheControl property: Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.- Returns:
- the cacheControl value.
-
setCacheControl
public PathHttpHeaders setCacheControl(String cacheControl)
Set the cacheControl property: Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.- Parameters:
cacheControl
- the cacheControl value to set.- Returns:
- the PathHttpHeaders object itself.
-
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.- Returns:
- the contentEncoding value.
-
setContentEncoding
public PathHttpHeaders setContentEncoding(String contentEncoding)
Set the contentEncoding property: Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.- Parameters:
contentEncoding
- the contentEncoding value to set.- Returns:
- the PathHttpHeaders object itself.
-
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.- Returns:
- the contentLanguage value.
-
setContentLanguage
public PathHttpHeaders setContentLanguage(String contentLanguage)
Set the contentLanguage property: Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.- Parameters:
contentLanguage
- the contentLanguage value to set.- Returns:
- the PathHttpHeaders object itself.
-
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: Optional. Sets the blob's Content-Disposition header.- Returns:
- the contentDisposition value.
-
setContentDisposition
public PathHttpHeaders setContentDisposition(String contentDisposition)
Set the contentDisposition property: Optional. Sets the blob's Content-Disposition header.- Parameters:
contentDisposition
- the contentDisposition value to set.- Returns:
- the PathHttpHeaders object itself.
-
getContentType
public String getContentType()
Get the contentType property: Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.- Returns:
- the contentType value.
-
setContentType
public PathHttpHeaders setContentType(String contentType)
Set the contentType property: Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.- Parameters:
contentType
- the contentType value to set.- Returns:
- the PathHttpHeaders object itself.
-
getContentMd5
public byte[] getContentMd5()
Get the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.- Returns:
- the contentMd5 value.
-
setContentMd5
public PathHttpHeaders setContentMd5(byte[] contentMd5)
Set the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.- Parameters:
contentMd5
- the contentMd5 value to set.- Returns:
- the PathHttpHeaders object itself.
-
getTransactionalContentHash
public byte[] getTransactionalContentHash()
Get the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.- Returns:
- the transactionalContentHash value.
-
setTransactionalContentHash
public PathHttpHeaders setTransactionalContentHash(byte[] transactionalContentHash)
Set the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.- Parameters:
transactionalContentHash
- the transactionalContentHash value to set.- Returns:
- the PathHttpHeaders object itself.
-
-