public final class BlobDownloadHeaders extends Object
Constructor and Description |
---|
BlobDownloadHeaders() |
Modifier and Type | Method and Description |
---|---|
String |
getAcceptRanges()
Get the acceptRanges property: Indicates that the service supports
requests for partial blob content.
|
Integer |
getBlobCommittedBlockCount()
Get the blobCommittedBlockCount property: The number of committed blocks
present in the blob.
|
byte[] |
getBlobContentMD5()
Get the blobContentMD5 property: If the blob has a MD5 hash, and if
request contains range header (Range or x-ms-range), this response
header is returned with the value of the whole blob's MD5 value.
|
Long |
getBlobSequenceNumber()
Get the blobSequenceNumber property: The current sequence number for a
page blob.
|
BlobType |
getBlobType()
Get the blobType property: The blob's type.
|
String |
getCacheControl()
Get the cacheControl property: This header is returned if it was
previously specified for the blob.
|
String |
getClientRequestId()
Get the clientRequestId property: If a client request id header is sent
in the request, this header will be present in the response with the
same value.
|
byte[] |
getContentCrc64()
Get the contentCrc64 property: If the request is to read a specified
range and the x-ms-range-get-content-crc64 is set to true, then the
request returns a crc64 for the range, as long as the range size is less
than or equal to 4 MB.
|
String |
getContentDisposition()
Get the contentDisposition property: This header returns the value that
was specified for the 'x-ms-blob-content-disposition' header.
|
String |
getContentEncoding()
Get the contentEncoding property: This header returns the value that was
specified for the Content-Encoding request header.
|
String |
getContentLanguage()
Get the contentLanguage property: This header returns the value that was
specified for the Content-Language request header.
|
Long |
getContentLength()
Get the contentLength property: The number of bytes present in the
response body.
|
byte[] |
getContentMd5()
Get the contentMd5 property: If the blob has an MD5 hash and this
operation is to read the full blob, this response header is returned so
that the client can check for message content integrity.
|
String |
getContentRange()
Get the contentRange property: Indicates the range of bytes returned in
the event that the client requested a subset of the blob by setting the
'Range' request header.
|
String |
getContentType()
Get the contentType property: The media type of the body of the
response.
|
OffsetDateTime |
getCopyCompletionTime()
Get the copyCompletionTime property: Conclusion time of the last
attempted Copy Blob operation where this blob was the destination blob.
|
String |
getCopyId()
Get the copyId property: String identifier for this copy operation.
|
String |
getCopyProgress()
Get the copyProgress property: Contains the number of bytes copied and
the total bytes in the source in the last attempted Copy Blob operation
where this blob was the destination blob.
|
String |
getCopySource()
Get the copySource property: URL up to 2 KB in length that specifies the
source blob or file used in the last attempted Copy Blob operation where
this blob was the destination blob.
|
CopyStatusType |
getCopyStatus()
Get the copyStatus property: State of the copy operation identified by
x-ms-copy-id.
|
String |
getCopyStatusDescription()
Get the copyStatusDescription property: Only appears when
x-ms-copy-status is failed or pending.
|
OffsetDateTime |
getDateProperty()
Get the dateProperty property: UTC date/time value generated by the
service that indicates the time at which the response was initiated.
|
String |
getEncryptionKeySha256()
Get the encryptionKeySha256 property: The SHA-256 hash of the encryption
key used to encrypt the blob.
|
String |
getErrorCode()
Get the errorCode property: The errorCode property.
|
String |
getETag()
Get the eTag property: The ETag contains a value that you can use to
perform operations conditionally.
|
OffsetDateTime |
getLastModified()
Get the lastModified property: Returns the date and time the container
was last modified.
|
LeaseDurationType |
getLeaseDuration()
Get the leaseDuration property: When a blob is leased, specifies whether
the lease is of infinite or fixed duration.
|
LeaseStateType |
getLeaseState()
Get the leaseState property: Lease state of the blob.
|
LeaseStatusType |
getLeaseStatus()
Get the leaseStatus property: The current lease status of the blob.
|
Map<String,String> |
getMetadata()
Get the metadata property: The metadata property.
|
String |
getRequestId()
Get the requestId property: This header uniquely identifies the request
that was made and can be used for troubleshooting the request.
|
String |
getVersion()
Get the version property: Indicates the version of the Blob service used
to execute the request.
|
Boolean |
isServerEncrypted()
Get the isServerEncrypted property: The value of this header is set to
true if the blob data and application metadata are completely encrypted
using the specified algorithm.
|
BlobDownloadHeaders |
setAcceptRanges(String acceptRanges)
Set the acceptRanges property: Indicates that the service supports
requests for partial blob content.
|
BlobDownloadHeaders |
setBlobCommittedBlockCount(Integer blobCommittedBlockCount)
Set the blobCommittedBlockCount property: The number of committed blocks
present in the blob.
|
BlobDownloadHeaders |
setBlobContentMD5(byte[] blobContentMD5)
Set the blobContentMD5 property: If the blob has a MD5 hash, and if
request contains range header (Range or x-ms-range), this response
header is returned with the value of the whole blob's MD5 value.
|
BlobDownloadHeaders |
setBlobSequenceNumber(Long blobSequenceNumber)
Set the blobSequenceNumber property: The current sequence number for a
page blob.
|
BlobDownloadHeaders |
setBlobType(BlobType blobType)
Set the blobType property: The blob's type.
|
BlobDownloadHeaders |
setCacheControl(String cacheControl)
Set the cacheControl property: This header is returned if it was
previously specified for the blob.
|
BlobDownloadHeaders |
setClientRequestId(String clientRequestId)
Set the clientRequestId property: If a client request id header is sent
in the request, this header will be present in the response with the
same value.
|
BlobDownloadHeaders |
setContentCrc64(byte[] contentCrc64)
Set the contentCrc64 property: If the request is to read a specified
range and the x-ms-range-get-content-crc64 is set to true, then the
request returns a crc64 for the range, as long as the range size is less
than or equal to 4 MB.
|
BlobDownloadHeaders |
setContentDisposition(String contentDisposition)
Set the contentDisposition property: This header returns the value that
was specified for the 'x-ms-blob-content-disposition' header.
|
BlobDownloadHeaders |
setContentEncoding(String contentEncoding)
Set the contentEncoding property: This header returns the value that was
specified for the Content-Encoding request header.
|
BlobDownloadHeaders |
setContentLanguage(String contentLanguage)
Set the contentLanguage property: This header returns the value that was
specified for the Content-Language request header.
|
BlobDownloadHeaders |
setContentLength(Long contentLength)
Set the contentLength property: The number of bytes present in the
response body.
|
BlobDownloadHeaders |
setContentMd5(byte[] contentMd5)
Set the contentMd5 property: If the blob has an MD5 hash and this
operation is to read the full blob, this response header is returned so
that the client can check for message content integrity.
|
BlobDownloadHeaders |
setContentRange(String contentRange)
Set the contentRange property: Indicates the range of bytes returned in
the event that the client requested a subset of the blob by setting the
'Range' request header.
|
BlobDownloadHeaders |
setContentType(String contentType)
Set the contentType property: The media type of the body of the
response.
|
BlobDownloadHeaders |
setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copyCompletionTime property: Conclusion time of the last
attempted Copy Blob operation where this blob was the destination blob.
|
BlobDownloadHeaders |
setCopyId(String copyId)
Set the copyId property: String identifier for this copy operation.
|
BlobDownloadHeaders |
setCopyProgress(String copyProgress)
Set the copyProgress property: Contains the number of bytes copied and
the total bytes in the source in the last attempted Copy Blob operation
where this blob was the destination blob.
|
BlobDownloadHeaders |
setCopySource(String copySource)
Set the copySource property: URL up to 2 KB in length that specifies the
source blob or file used in the last attempted Copy Blob operation where
this blob was the destination blob.
|
BlobDownloadHeaders |
setCopyStatus(CopyStatusType copyStatus)
Set the copyStatus property: State of the copy operation identified by
x-ms-copy-id.
|
BlobDownloadHeaders |
setCopyStatusDescription(String copyStatusDescription)
Set the copyStatusDescription property: Only appears when
x-ms-copy-status is failed or pending.
|
BlobDownloadHeaders |
setDateProperty(OffsetDateTime dateProperty)
Set the dateProperty property: UTC date/time value generated by the
service that indicates the time at which the response was initiated.
|
BlobDownloadHeaders |
setEncryptionKeySha256(String encryptionKeySha256)
Set the encryptionKeySha256 property: The SHA-256 hash of the encryption
key used to encrypt the blob.
|
BlobDownloadHeaders |
setErrorCode(String errorCode)
Set the errorCode property: The errorCode property.
|
BlobDownloadHeaders |
setETag(String eTag)
Set the eTag property: The ETag contains a value that you can use to
perform operations conditionally.
|
BlobDownloadHeaders |
setIsServerEncrypted(Boolean isServerEncrypted)
Set the isServerEncrypted property: The value of this header is set to
true if the blob data and application metadata are completely encrypted
using the specified algorithm.
|
BlobDownloadHeaders |
setLastModified(OffsetDateTime lastModified)
Set the lastModified property: Returns the date and time the container
was last modified.
|
BlobDownloadHeaders |
setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: When a blob is leased, specifies whether
the lease is of infinite or fixed duration.
|
BlobDownloadHeaders |
setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Lease state of the blob.
|
BlobDownloadHeaders |
setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: The current lease status of the blob.
|
BlobDownloadHeaders |
setMetadata(Map<String,String> metadata)
Set the metadata property: The metadata property.
|
BlobDownloadHeaders |
setRequestId(String requestId)
Set the requestId property: This header uniquely identifies the request
that was made and can be used for troubleshooting the request.
|
BlobDownloadHeaders |
setVersion(String version)
Set the version property: Indicates the version of the Blob service used
to execute the request.
|
public OffsetDateTime getLastModified()
public BlobDownloadHeaders setLastModified(OffsetDateTime lastModified)
lastModified
- the lastModified value to set.public Map<String,String> getMetadata()
public BlobDownloadHeaders setMetadata(Map<String,String> metadata)
metadata
- the metadata value to set.public Long getContentLength()
public BlobDownloadHeaders setContentLength(Long contentLength)
contentLength
- the contentLength value to set.public String getContentType()
public BlobDownloadHeaders setContentType(String contentType)
contentType
- the contentType value to set.public String getContentRange()
public BlobDownloadHeaders setContentRange(String contentRange)
contentRange
- the contentRange value to set.public String getETag()
public BlobDownloadHeaders setETag(String eTag)
eTag
- the eTag value to set.public byte[] getContentMd5()
public BlobDownloadHeaders setContentMd5(byte[] contentMd5)
contentMd5
- the contentMd5 value to set.public String getContentEncoding()
public BlobDownloadHeaders setContentEncoding(String contentEncoding)
contentEncoding
- the contentEncoding value to set.public String getCacheControl()
public BlobDownloadHeaders setCacheControl(String cacheControl)
cacheControl
- the cacheControl value to set.public String getContentDisposition()
public BlobDownloadHeaders setContentDisposition(String contentDisposition)
contentDisposition
- the contentDisposition value to set.public String getContentLanguage()
public BlobDownloadHeaders setContentLanguage(String contentLanguage)
contentLanguage
- the contentLanguage value to set.public Long getBlobSequenceNumber()
public BlobDownloadHeaders setBlobSequenceNumber(Long blobSequenceNumber)
blobSequenceNumber
- the blobSequenceNumber value to set.public BlobType getBlobType()
public BlobDownloadHeaders setBlobType(BlobType blobType)
blobType
- the blobType value to set.public OffsetDateTime getCopyCompletionTime()
public BlobDownloadHeaders setCopyCompletionTime(OffsetDateTime copyCompletionTime)
copyCompletionTime
- the copyCompletionTime value to set.public String getCopyStatusDescription()
public BlobDownloadHeaders setCopyStatusDescription(String copyStatusDescription)
copyStatusDescription
- the copyStatusDescription value to set.public String getCopyId()
public BlobDownloadHeaders setCopyId(String copyId)
copyId
- the copyId value to set.public String getCopyProgress()
public BlobDownloadHeaders setCopyProgress(String copyProgress)
copyProgress
- the copyProgress value to set.public String getCopySource()
public BlobDownloadHeaders setCopySource(String copySource)
copySource
- the copySource value to set.public CopyStatusType getCopyStatus()
public BlobDownloadHeaders setCopyStatus(CopyStatusType copyStatus)
copyStatus
- the copyStatus value to set.public LeaseDurationType getLeaseDuration()
public BlobDownloadHeaders setLeaseDuration(LeaseDurationType leaseDuration)
leaseDuration
- the leaseDuration value to set.public LeaseStateType getLeaseState()
public BlobDownloadHeaders setLeaseState(LeaseStateType leaseState)
leaseState
- the leaseState value to set.public LeaseStatusType getLeaseStatus()
public BlobDownloadHeaders setLeaseStatus(LeaseStatusType leaseStatus)
leaseStatus
- the leaseStatus value to set.public String getClientRequestId()
public BlobDownloadHeaders setClientRequestId(String clientRequestId)
clientRequestId
- the clientRequestId value to set.public String getRequestId()
public BlobDownloadHeaders setRequestId(String requestId)
requestId
- the requestId value to set.public String getVersion()
public BlobDownloadHeaders setVersion(String version)
version
- the version value to set.public String getAcceptRanges()
public BlobDownloadHeaders setAcceptRanges(String acceptRanges)
acceptRanges
- the acceptRanges value to set.public OffsetDateTime getDateProperty()
public BlobDownloadHeaders setDateProperty(OffsetDateTime dateProperty)
dateProperty
- the dateProperty value to set.public Integer getBlobCommittedBlockCount()
public BlobDownloadHeaders setBlobCommittedBlockCount(Integer blobCommittedBlockCount)
blobCommittedBlockCount
- the blobCommittedBlockCount value to set.public Boolean isServerEncrypted()
public BlobDownloadHeaders setIsServerEncrypted(Boolean isServerEncrypted)
isServerEncrypted
- the isServerEncrypted value to set.public String getEncryptionKeySha256()
public BlobDownloadHeaders setEncryptionKeySha256(String encryptionKeySha256)
encryptionKeySha256
- the encryptionKeySha256 value to set.public byte[] getBlobContentMD5()
public BlobDownloadHeaders setBlobContentMD5(byte[] blobContentMD5)
blobContentMD5
- the blobContentMD5 value to set.public byte[] getContentCrc64()
public BlobDownloadHeaders setContentCrc64(byte[] contentCrc64)
contentCrc64
- the contentCrc64 value to set.public String getErrorCode()
public BlobDownloadHeaders setErrorCode(String errorCode)
errorCode
- the errorCode value to set.Copyright © 2019 Microsoft Corporation. All rights reserved.