Package com.azure.storage.blob.options
Class BlockBlobCommitBlockListOptions
java.lang.Object
com.azure.storage.blob.options.BlockBlobCommitBlockListOptions
Extended options that may be passed when committing a block list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTags()getTier()setHeaders(BlobHttpHeaders headers) setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy) Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.setLegalHold(Boolean legalHold) Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.setMetadata(Map<String, String> metadata) setRequestConditions(BlobRequestConditions requestConditions) setTier(AccessTier tier)
-
Constructor Details
-
BlockBlobCommitBlockListOptions
- Parameters:
base64BlockIds- A list of base64 encodeStrings that specifies the block IDs to be committed.
-
-
Method Details
-
getBase64BlockIds
- Returns:
- A list of base64 encode
Strings that specifies the block IDs to be committed.
-
getHeaders
- Returns:
BlobHttpHeaders
-
setHeaders
- Parameters:
headers-BlobHttpHeaders- Returns:
- The updated
AppendBlobCreateOptions
-
getMetadata
- Returns:
- The metadata to associate with the blob.
-
setMetadata
- Parameters:
metadata- The metadata to associate with the blob.- Returns:
- The updated options
-
getTags
- Returns:
- The tags to associate with the blob.
-
setTags
- Parameters:
tags- The tags to associate with the blob.- Returns:
- The updated options.
-
getTier
- Returns:
AccessTier
-
setTier
- Parameters:
tier-AccessTier- Returns:
- The updated options.
-
getRequestConditions
- Returns:
BlobRequestConditions
-
setRequestConditions
public BlockBlobCommitBlockListOptions setRequestConditions(BlobRequestConditions requestConditions) - Parameters:
requestConditions-BlobRequestConditions- Returns:
- The updated options.
-
getImmutabilityPolicy
- Returns:
BlobImmutabilityPolicy
-
setImmutabilityPolicy
public BlockBlobCommitBlockListOptions setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy) Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.- Parameters:
immutabilityPolicy-BlobImmutabilityPolicy- Returns:
- The updated options.
-
isLegalHold
- Returns:
- If a legal hold should be placed on the blob.
-
setLegalHold
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.- Parameters:
legalHold- Indicates if a legal hold should be placed on the blob.- Returns:
- The updated options.
-