BlobDownloadHeaders Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobDownloadHeaders
- com.
public final class BlobDownloadHeaders
Defines headers for Download operation.
Constructor Summary
Constructor | Description |
---|---|
BlobDownloadHeaders() |
Constructs a new instance of BlobDownloadHeaders. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getAcceptRanges()
Get the accept |
Integer |
getBlobCommittedBlockCount()
Get the blob |
byte[] |
getBlobContentMD5()
Get the blob |
Long |
getBlobSequenceNumber()
Get the blob |
Blob |
getBlobType()
Get the blob |
String |
getCacheControl()
Get the cache |
String |
getClientRequestId()
Get the client |
byte[] |
getContentCrc64()
Get the content |
String |
getContentDisposition()
Get the content |
String |
getContentEncoding()
Get the content |
String |
getContentLanguage()
Get the content |
Long |
getContentLength()
Get the content |
byte[] |
getContentMd5()
Get the content |
String |
getContentRange()
Get the content |
String |
getContentType()
Get the content |
Offset |
getCopyCompletionTime()
Get the copy |
String |
getCopyId()
Get the copy |
String |
getCopyProgress()
Get the copy |
String |
getCopySource()
Get the copy |
Copy |
getCopyStatus()
Get the copy |
String |
getCopyStatusDescription()
Get the copy |
Offset |
getCreationTime()
Get the x |
Offset |
getDateProperty()
Get the date |
String |
getETag()
Get the e |
String |
getEncryptionKeySha256()
Get the encryption |
String |
getEncryptionScope()
Get the encryption |
String |
getErrorCode()
Get the error |
Blob |
getImmutabilityPolicy()
Get the immutability |
Offset |
getLastAccessedTime()
Get the last |
Offset |
getLastModified()
Get the last |
Lease |
getLeaseDuration()
Get the lease |
Lease |
getLeaseState()
Get the lease |
Lease |
getLeaseStatus()
Get the lease |
Map<String,String> |
getMetadata()
Get the metadata property: The metadata property. |
String |
getObjectReplicationDestinationPolicyId()
Get the object |
List<Object |
getObjectReplicationSourcePolicies()
Get the object |
String |
getRequestId()
Get the request |
Long |
getTagCount()
Get the tag |
String |
getVersion()
Get the version property: Indicates the version of the Blob service used to execute the request. |
String |
getVersionId()
Get the version |
Boolean |
hasLegalHold()
Get the has |
Boolean |
isCurrentVersion()
Get the current |
Boolean |
isSealed()
Get the sealed property: The sealed property. |
Boolean |
isServerEncrypted()
Get the is |
Blob |
setAcceptRanges(String acceptRanges)
Set the accept |
Blob |
setBlobCommittedBlockCount(Integer blobCommittedBlockCount)
Set the blob |
Blob |
setBlobContentMD5(byte[] blobContentMD5)
Set the blob |
Blob |
setBlobSequenceNumber(Long blobSequenceNumber)
Set the blob |
Blob |
setBlobType(BlobType blobType)
Set the blob |
Blob |
setCacheControl(String cacheControl)
Set the cache |
Blob |
setClientRequestId(String clientRequestId)
Set the client |
Blob |
setContentCrc64(byte[] contentCrc64)
Set the content |
Blob |
setContentDisposition(String contentDisposition)
Set the content |
Blob |
setContentEncoding(String contentEncoding)
Set the content |
Blob |
setContentLanguage(String contentLanguage)
Set the content |
Blob |
setContentLength(Long contentLength)
Set the content |
Blob |
setContentMd5(byte[] contentMd5)
Set the content |
Blob |
setContentRange(String contentRange)
Set the content |
Blob |
setContentType(String contentType)
Set the content |
Blob |
setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copy |
Blob |
setCopyId(String copyId)
Set the copy |
Blob |
setCopyProgress(String copyProgress)
Set the copy |
Blob |
setCopySource(String copySource)
Set the copy |
Blob |
setCopyStatus(CopyStatusType copyStatus)
Set the copy |
Blob |
setCopyStatusDescription(String copyStatusDescription)
Set the copy |
Blob |
setCreationTime(OffsetDateTime creationTime)
Set the x |
Blob |
setCurrentVersion(Boolean currentVersion)
Set the current |
Blob |
setDateProperty(OffsetDateTime dateProperty)
Set the date |
Blob |
setETag(String eTag)
Set the e |
Blob |
setEncryptionKeySha256(String encryptionKeySha256)
Set the encryption |
Blob |
setEncryptionScope(String encryptionScope)
Set the encryption |
Blob |
setErrorCode(String errorCode)
Set the error |
Blob |
setHasLegalHold(Boolean hasLegalHold)
Set the has |
Blob |
setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutability |
Blob |
setIsServerEncrypted(Boolean isServerEncrypted)
Set the is |
Blob |
setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the last |
Blob |
setLastModified(OffsetDateTime lastModified)
Set the last |
Blob |
setLeaseDuration(LeaseDurationType leaseDuration)
Set the lease |
Blob |
setLeaseState(LeaseStateType leaseState)
Set the lease |
Blob |
setLeaseStatus(LeaseStatusType leaseStatus)
Set the lease |
Blob |
setMetadata(Map<String,String> metadata)
Set the metadata property: The metadata property. |
Blob |
setObjectReplicationDestinationPolicyId(String objectReplicationDestinationPolicyId)
Set the object |
Blob |
setObjectReplicationSourcePolicies(List<ObjectReplicationPolicy> objectReplicationSourcePolicies)
Set the object |
Blob |
setRequestId(String requestId)
Set the request |
Blob |
setSealed(Boolean sealed)
Set the sealed property: The sealed property. |
Blob |
setTagCount(Long tagCount)
Set the tag |
Blob |
setVersion(String version)
Set the version property: Indicates the version of the Blob service used to execute the request. |
Blob |
setVersionId(String versionId)
Set the version |
Methods inherited from java.lang.Object
Constructor Details
BlobDownloadHeaders
public BlobDownloadHeaders()
Constructs a new instance of BlobDownloadHeaders.
Method Details
getAcceptRanges
public String getAcceptRanges()
Get the acceptRanges property: Indicates that the service supports requests for partial blob content.
Returns:
getBlobCommittedBlockCount
public Integer getBlobCommittedBlockCount()
Get the blobCommittedBlockCount property: The number of committed blocks present in the blob. This header is returned only for append blobs.
Returns:
getBlobContentMD5
public 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. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range.
Returns:
getBlobSequenceNumber
public Long getBlobSequenceNumber()
Get the blobSequenceNumber property: The current sequence number for a page blob. This header is not returned for block blobs or append blobs.
Returns:
getBlobType
public BlobType getBlobType()
Get the blobType property: The blob's type. Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.
Returns:
getCacheControl
public String getCacheControl()
Get the cacheControl property: This header is returned if it was previously specified for the blob.
Returns:
getClientRequestId
public 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.
Returns:
getContentCrc64
public 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. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is specified in the same request, it will fail with 400(Bad Request).
Returns:
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: This header returns the value that was specified for the 'x-ms-blob-content-disposition' header. The Content-Disposition response header field conveys additional information about how to process the response payload, and also can be used to attach additional metadata. For example, if set to attachment, it indicates that the user-agent should not display the response, but instead show a Save As dialog with a filename other than the blob name specified.
Returns:
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: This header returns the value that was specified for the Content-Encoding request header.
Returns:
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: This header returns the value that was specified for the Content-Language request header.
Returns:
getContentLength
public Long getContentLength()
Get the contentLength property: The number of bytes present in the response body.
Returns:
getContentMd5
public 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.
Returns:
getContentRange
public 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.
Returns:
getContentType
public String getContentType()
Get the contentType property: The media type of the body of the response. For Download Blob this is 'application/octet-stream'.
Returns:
getCopyCompletionTime
public OffsetDateTime getCopyCompletionTime()
Get the copyCompletionTime property: Conclusion time of the last attempted Copy Blob operation where this blob was the destination blob. This value can specify the time of a completed, aborted, or failed copy attempt. This header does not appear if a copy is pending, if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Returns:
getCopyId
public String getCopyId()
Get the copyId property: String identifier for this copy operation. Use with Get Blob Properties to check the status of this copy operation, or pass to Abort Copy Blob to abort a pending copy.
Returns:
getCopyProgress
public 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. Can show between 0 and Content-Length bytes copied. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Returns:
getCopySource
public 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. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Returns:
getCopyStatus
public CopyStatusType getCopyStatus()
Get the copyStatus property: State of the copy operation identified by x-ms-copy-id. Possible values include: 'pending', 'success', 'aborted', 'failed'.
Returns:
getCopyStatusDescription
public String getCopyStatusDescription()
Get the copyStatusDescription property: Only appears when x-ms-copy-status is failed or pending. Describes the cause of the last fatal or non-fatal copy operation failure. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Returns:
getCreationTime
public OffsetDateTime getCreationTime()
Get the xMsCreationTime property: The x-ms-creation-time property.
Returns:
getDateProperty
public OffsetDateTime getDateProperty()
Get the dateProperty property: UTC date/time value generated by the service that indicates the time at which the response was initiated.
Returns:
getETag
public String getETag()
Get the eTag property: The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes.
Returns:
getEncryptionKeySha256
public String getEncryptionKeySha256()
Get the encryptionKeySha256 property: The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key.
Returns:
getEncryptionScope
public String getEncryptionScope()
Get the encryptionScope property: Returns the name of the encryption scope used to encrypt the blob contents and application metadata. Note that the absence of this header implies use of the default account encryption scope.
Returns:
getErrorCode
public String getErrorCode()
Get the errorCode property: The errorCode property.
Returns:
getImmutabilityPolicy
public BlobImmutabilityPolicy getImmutabilityPolicy()
Get the immutabilityPolicy property: The x-ms-immutability-policy-mode and x-ms-immutability-policy-until-date property.
Returns:
getLastAccessedTime
public OffsetDateTime getLastAccessedTime()
Get the lastAccessedTime property: The lastAccessedTime property.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Get the lastModified property: Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Get the leaseDuration property: When a blob is leased, specifies whether the lease is of infinite or fixed duration. Possible values include: 'infinite', 'fixed'.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Get the leaseState property: Lease state of the blob. Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Get the leaseStatus property: The current lease status of the blob. Possible values include: 'locked', 'unlocked'.
Returns:
getMetadata
public Map
Get the metadata property: The metadata property.
Returns:
getObjectReplicationDestinationPolicyId
public String getObjectReplicationDestinationPolicyId()
Get the objectReplicationDestinationPolicyId property: Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication.
Returns:
getObjectReplicationSourcePolicies
public List
Get the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.
Returns:
getRequestId
public String getRequestId()
Get the requestId property: This header uniquely identifies the request that was made and can be used for troubleshooting the request.
Returns:
getTagCount
public Long getTagCount()
Get the tagCount property: The number of tags associated with the blob.
Returns:
getVersion
public String getVersion()
Get the version property: Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above.
Returns:
getVersionId
public String getVersionId()
Get the versionId property: A DateTime value returned by the service that uniquely identifies the blob. The value of this header indicates the blob version, and may be used in subsequent requests to access this version of the blob.
Returns:
hasLegalHold
public Boolean hasLegalHold()
Get the hasLegalHold property: The x-ms-legal-hold property.
Returns:
isCurrentVersion
public Boolean isCurrentVersion()
Get the currentVersion property: The x-ms-is-current-version property.
Returns:
isSealed
public Boolean isSealed()
Get the sealed property: The sealed property.
Returns:
isServerEncrypted
public 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. Otherwise, the value is set to false (when the blob is unencrypted, or if only parts of the blob/application metadata are encrypted).
Returns:
setAcceptRanges
public BlobDownloadHeaders setAcceptRanges(String acceptRanges)
Set the acceptRanges property: Indicates that the service supports requests for partial blob content.
Parameters:
Returns:
setBlobCommittedBlockCount
public BlobDownloadHeaders setBlobCommittedBlockCount(Integer blobCommittedBlockCount)
Set the blobCommittedBlockCount property: The number of committed blocks present in the blob. This header is returned only for append blobs.
Parameters:
Returns:
setBlobContentMD5
public 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. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range.
Parameters:
Returns:
setBlobSequenceNumber
public BlobDownloadHeaders setBlobSequenceNumber(Long blobSequenceNumber)
Set the blobSequenceNumber property: The current sequence number for a page blob. This header is not returned for block blobs or append blobs.
Parameters:
Returns:
setBlobType
public BlobDownloadHeaders setBlobType(BlobType blobType)
Set the blobType property: The blob's type. Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.
Parameters:
Returns:
setCacheControl
public BlobDownloadHeaders setCacheControl(String cacheControl)
Set the cacheControl property: This header is returned if it was previously specified for the blob.
Parameters:
Returns:
setClientRequestId
public 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.
Parameters:
Returns:
setContentCrc64
public 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. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is specified in the same request, it will fail with 400(Bad Request).
Parameters:
Returns:
setContentDisposition
public BlobDownloadHeaders setContentDisposition(String contentDisposition)
Set the contentDisposition property: This header returns the value that was specified for the 'x-ms-blob-content-disposition' header. The Content-Disposition response header field conveys additional information about how to process the response payload, and also can be used to attach additional metadata. For example, if set to attachment, it indicates that the user-agent should not display the response, but instead show a Save As dialog with a filename other than the blob name specified.
Parameters:
Returns:
setContentEncoding
public BlobDownloadHeaders setContentEncoding(String contentEncoding)
Set the contentEncoding property: This header returns the value that was specified for the Content-Encoding request header.
Parameters:
Returns:
setContentLanguage
public BlobDownloadHeaders setContentLanguage(String contentLanguage)
Set the contentLanguage property: This header returns the value that was specified for the Content-Language request header.
Parameters:
Returns:
setContentLength
public BlobDownloadHeaders setContentLength(Long contentLength)
Set the contentLength property: The number of bytes present in the response body.
Parameters:
Returns:
setContentMd5
public 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.
Parameters:
Returns:
setContentRange
public 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.
Parameters:
Returns:
setContentType
public BlobDownloadHeaders setContentType(String contentType)
Set the contentType property: The media type of the body of the response. For Download Blob this is 'application/octet-stream'.
Parameters:
Returns:
setCopyCompletionTime
public BlobDownloadHeaders setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copyCompletionTime property: Conclusion time of the last attempted Copy Blob operation where this blob was the destination blob. This value can specify the time of a completed, aborted, or failed copy attempt. This header does not appear if a copy is pending, if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Parameters:
Returns:
setCopyId
public BlobDownloadHeaders setCopyId(String copyId)
Set the copyId property: String identifier for this copy operation. Use with Get Blob Properties to check the status of this copy operation, or pass to Abort Copy Blob to abort a pending copy.
Parameters:
Returns:
setCopyProgress
public 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. Can show between 0 and Content-Length bytes copied. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Parameters:
Returns:
setCopySource
public 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. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Parameters:
Returns:
setCopyStatus
public BlobDownloadHeaders setCopyStatus(CopyStatusType copyStatus)
Set the copyStatus property: State of the copy operation identified by x-ms-copy-id. Possible values include: 'pending', 'success', 'aborted', 'failed'.
Parameters:
Returns:
setCopyStatusDescription
public BlobDownloadHeaders setCopyStatusDescription(String copyStatusDescription)
Set the copyStatusDescription property: Only appears when x-ms-copy-status is failed or pending. Describes the cause of the last fatal or non-fatal copy operation failure. This header does not appear if this blob has never been the destination in a Copy Blob operation, or if this blob has been modified after a concluded Copy Blob operation using Set Blob Properties, Put Blob, or Put Block List.
Parameters:
Returns:
setCreationTime
public BlobDownloadHeaders setCreationTime(OffsetDateTime creationTime)
Set the xMsCreationTime property: The x-ms-creation-time property.
Parameters:
Returns:
setCurrentVersion
public BlobDownloadHeaders setCurrentVersion(Boolean currentVersion)
Set the currentVersion property: The x-ms-is-current-version property.
Parameters:
Returns:
setDateProperty
public 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.
Parameters:
Returns:
setETag
public BlobDownloadHeaders setETag(String eTag)
Set the eTag property: The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes.
Parameters:
Returns:
setEncryptionKeySha256
public BlobDownloadHeaders setEncryptionKeySha256(String encryptionKeySha256)
Set the encryptionKeySha256 property: The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key.
Parameters:
Returns:
setEncryptionScope
public BlobDownloadHeaders setEncryptionScope(String encryptionScope)
Set the encryptionScope property: Returns the name of the encryption scope used to encrypt the blob contents and application metadata. Note that the absence of this header implies use of the default account encryption scope.
Parameters:
Returns:
setErrorCode
public BlobDownloadHeaders setErrorCode(String errorCode)
Set the errorCode property: The errorCode property.
Parameters:
Returns:
setHasLegalHold
public BlobDownloadHeaders setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The x-ms-legal-hold property.
Parameters:
Returns:
setImmutabilityPolicy
public BlobDownloadHeaders setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutabilityPolicy property: x-ms-immutability-policy-mode and x-ms-immutability-policy-until-date property.
Parameters:
Returns:
setIsServerEncrypted
public 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. Otherwise, the value is set to false (when the blob is unencrypted, or if only parts of the blob/application metadata are encrypted).
Parameters:
Returns:
setLastAccessedTime
public BlobDownloadHeaders setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the lastAccessedTime property: The lastAccessedTime property.
Parameters:
Returns:
setLastModified
public BlobDownloadHeaders setLastModified(OffsetDateTime lastModified)
Set the lastModified property: Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob.
Parameters:
Returns:
setLeaseDuration
public BlobDownloadHeaders setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: When a blob is leased, specifies whether the lease is of infinite or fixed duration. Possible values include: 'infinite', 'fixed'.
Parameters:
Returns:
setLeaseState
public BlobDownloadHeaders setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Lease state of the blob. Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Parameters:
Returns:
setLeaseStatus
public BlobDownloadHeaders setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: The current lease status of the blob. Possible values include: 'locked', 'unlocked'.
Parameters:
Returns:
setMetadata
public BlobDownloadHeaders setMetadata(Map
Set the metadata property: The metadata property.
Parameters:
Returns:
setObjectReplicationDestinationPolicyId
public BlobDownloadHeaders setObjectReplicationDestinationPolicyId(String objectReplicationDestinationPolicyId)
Set the objectReplicationDestinationPolicyId property: Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication.
Parameters:
Returns:
setObjectReplicationSourcePolicies
public BlobDownloadHeaders setObjectReplicationSourcePolicies(List
Set the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.
Parameters:
Returns:
setRequestId
public 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.
Parameters:
Returns:
setSealed
public BlobDownloadHeaders setSealed(Boolean sealed)
Set the sealed property: The sealed property.
Parameters:
Returns:
setTagCount
public BlobDownloadHeaders setTagCount(Long tagCount)
Set the tagCount property: The number of tags associated with the blob.
Parameters:
Returns:
setVersion
public BlobDownloadHeaders setVersion(String version)
Set the version property: Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above.
Parameters:
Returns:
setVersionId
public BlobDownloadHeaders setVersionId(String versionId)
Set the versionId property: A DateTime value returned by the service that uniquely identifies the blob. The value of this header indicates the blob version, and may be used in subsequent requests to access this version of the blob.
Parameters:
Returns:
Applies to
Azure SDK for Java