Class BlockBlobOutputStreamOptions
java.lang.Object
com.azure.storage.blob.options.BlockBlobOutputStreamOptions
- All Implemented Interfaces:
com.azure.storage.common.ValidatableContent
public class BlockBlobOutputStreamOptions
extends Object
implements com.azure.storage.common.ValidatableContent
Extended options that may be passed when opening an output stream to a Block Blob.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.storage.common.ContentValidationAlgorithmGets the algorithm to use for transfer content validation on the request.Gets theBlobHttpHeaders.Gets the metadata to associate with the blob.Gets theParallelTransferOptions.Gets theBlobRequestConditions.getTags()Gets the tags to associate with the blob.getTier()Gets theAccessTier.setContentValidationAlgorithm(com.azure.storage.common.ContentValidationAlgorithm contentValidationAlgorithm) Sets the algorithm to use for transfer content validation on the request.setHeaders(BlobHttpHeaders headers) Sets theBlobHttpHeaders.setMetadata(Map<String, String> metadata) Sets the metadata to associate with the blob.setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) Sets theParallelTransferOptions.setRequestConditions(BlobRequestConditions requestConditions) Sets theBlobRequestConditions.Sets the tags to associate with the blob.setTier(AccessTier tier) Sets theAccessTier.
-
Constructor Details
-
BlockBlobOutputStreamOptions
public BlockBlobOutputStreamOptions()Creates a new instance ofBlockBlobOutputStreamOptions.
-
-
Method Details
-
getParallelTransferOptions
Gets theParallelTransferOptions.- Returns:
ParallelTransferOptions
-
setParallelTransferOptions
public BlockBlobOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) Sets theParallelTransferOptions.- Parameters:
parallelTransferOptions-ParallelTransferOptions- Returns:
- The updated options.
-
getHeaders
-
setHeaders
Sets theBlobHttpHeaders.- Parameters:
headers-BlobHttpHeaders- Returns:
- The updated
AppendBlobCreateOptions
-
getMetadata
-
setMetadata
Sets the metadata to associate with the blob.- Parameters:
metadata- The metadata to associate with the blob.- Returns:
- The updated options
-
getTags
-
setTags
Sets the tags to associate with the blob.- Parameters:
tags- The tags to associate with the blob.- Returns:
- The updated options.
-
getTier
-
setTier
Sets theAccessTier.- Parameters:
tier-AccessTier- Returns:
- The updated options.
-
getRequestConditions
Gets theBlobRequestConditions.- Returns:
BlobRequestConditions
-
setRequestConditions
Sets theBlobRequestConditions.- Parameters:
requestConditions-BlobRequestConditions- Returns:
- The updated options.
-
getContentValidationAlgorithm
public com.azure.storage.common.ContentValidationAlgorithm getContentValidationAlgorithm()Gets the algorithm to use for transfer content validation on the request. SeeContentValidationAlgorithmfor more details.- Specified by:
getContentValidationAlgorithmin interfacecom.azure.storage.common.ValidatableContent- Returns:
- The transfer validation checksum algorithm.
-
setContentValidationAlgorithm
public BlockBlobOutputStreamOptions setContentValidationAlgorithm(com.azure.storage.common.ContentValidationAlgorithm contentValidationAlgorithm) Sets the algorithm to use for transfer content validation on the request. SeeContentValidationAlgorithmfor more details.- Specified by:
setContentValidationAlgorithmin interfacecom.azure.storage.common.ValidatableContent- Parameters:
contentValidationAlgorithm- The transfer validation checksum algorithm.- Returns:
- The updated options.
-