Package com.azure.storage.blob.options
Class AppendBlobCreateOptions
java.lang.Object
com.azure.storage.blob.options.AppendBlobCreateOptions
Extended options that may be passed when creating an Append Blob.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTags()
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)
-
Constructor Details
-
AppendBlobCreateOptions
public AppendBlobCreateOptions()
-
-
Method Details
-
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.
-
getRequestConditions
- Returns:
BlobRequestConditions
-
setRequestConditions
- Parameters:
requestConditions
-BlobRequestConditions
- Returns:
- The updated options.
-
getImmutabilityPolicy
- Returns:
BlobImmutabilityPolicy
-
setImmutabilityPolicy
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.
-
hasLegalHold
- 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.
-