AppendBlobCreateOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. AppendBlobCreateOptions
- com.
public class AppendBlobCreateOptions
Extended options that may be passed when creating an Append Blob.
Constructor Summary
Constructor | Description |
---|---|
AppendBlobCreateOptions() |
Creates a new instance of AppendBlobCreateOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
AppendBlobCreateOptions
public AppendBlobCreateOptions()
Creates a new instance of AppendBlobCreateOptions.
Method Details
getHeaders
getImmutabilityPolicy
public BlobImmutabilityPolicy getImmutabilityPolicy()
Gets the immutability policy for the blob.
Returns:
getMetadata
public Map
Gets the metadata to associate with the blob.
Returns:
getRequestConditions
getTags
public Map
Gets the tags to associate with the blob.
Returns:
hasLegalHold
public Boolean hasLegalHold()
Gets if a legal hold should be placed on the blob.
Returns:
setHeaders
public AppendBlobCreateOptions setHeaders(BlobHttpHeaders headers)
Sets the BlobHttpHeaders.
Parameters:
Returns:
AppendBlobCreateOptions
setImmutabilityPolicy
public AppendBlobCreateOptions setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Sets the immutability policy for the blob.
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setLegalHold
public AppendBlobCreateOptions setLegalHold(Boolean legalHold)
Sets if a legal hold should be placed on the blob.
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setMetadata
public AppendBlobCreateOptions setMetadata(Map
Sets the metadata to associate with the blob.
Parameters:
Returns:
setRequestConditions
public AppendBlobCreateOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
setTags
public AppendBlobCreateOptions setTags(Map
Sets the tags to associate with the blob.
Parameters:
Returns: