BlockBlobOutputStreamOptions Class

  • java.lang.Object
    • com.azure.storage.blob.options.BlockBlobOutputStreamOptions

public class BlockBlobOutputStreamOptions

Extended options that may be passed when opening an output stream to a Block Blob.

Constructor Summary

Constructor Description
BlockBlobOutputStreamOptions()

Creates a new instance of BlockBlobOutputStreamOptions.

Method Summary

Modifier and Type Method and Description
ContentValidationAlgorithm getContentValidationAlgorithm()

Gets the algorithm to use for transfer content validation on the request.

BlobHttpHeaders getHeaders()

Gets the BlobHttpHeaders.

Map<String,String> getMetadata()

Gets the metadata to associate with the blob.

ParallelTransferOptions getParallelTransferOptions()

Gets the ParallelTransferOptions.

BlobRequestConditions getRequestConditions()

Gets the BlobRequestConditions.

Map<String,String> getTags()

Gets the tags to associate with the blob.

AccessTier getTier()

Gets the AccessTier.

BlockBlobOutputStreamOptions setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)

Sets the algorithm to use for transfer content validation on the request.

BlockBlobOutputStreamOptions setHeaders(BlobHttpHeaders headers)

Sets the BlobHttpHeaders.

BlockBlobOutputStreamOptions setMetadata(Map<String,String> metadata)

Sets the metadata to associate with the blob.

BlockBlobOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

BlockBlobOutputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)

Sets the BlobRequestConditions.

BlockBlobOutputStreamOptions setTags(Map<String,String> tags)

Sets the tags to associate with the blob.

BlockBlobOutputStreamOptions setTier(AccessTier tier)

Sets the AccessTier.

Methods inherited from java.lang.Object

Constructor Details

BlockBlobOutputStreamOptions

public BlockBlobOutputStreamOptions()

Creates a new instance of BlockBlobOutputStreamOptions.

Method Details

getContentValidationAlgorithm

public ContentValidationAlgorithm getContentValidationAlgorithm()

Gets the algorithm to use for transfer content validation on the request. See ContentValidationAlgorithm for more details.

Returns:

The transfer validation checksum algorithm.

getHeaders

public BlobHttpHeaders getHeaders()

Gets the BlobHttpHeaders.

Returns:

getMetadata

public Map<String,String> getMetadata()

Gets the metadata to associate with the blob.

Returns:

The metadata to associate with the blob.

getParallelTransferOptions

public ParallelTransferOptions getParallelTransferOptions()

Gets the ParallelTransferOptions.

Returns:

getRequestConditions

public BlobRequestConditions getRequestConditions()

Gets the BlobRequestConditions.

Returns:

getTags

public Map<String,String> getTags()

Gets the tags to associate with the blob.

Returns:

The tags to associate with the blob.

getTier

public AccessTier getTier()

Gets the AccessTier.

Returns:

setContentValidationAlgorithm

public BlockBlobOutputStreamOptions setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)

Sets the algorithm to use for transfer content validation on the request. See ContentValidationAlgorithm for more details.

Parameters:

contentValidationAlgorithm - The transfer validation checksum algorithm.

Returns:

The updated options.

setHeaders

public BlockBlobOutputStreamOptions setHeaders(BlobHttpHeaders headers)

Sets the BlobHttpHeaders.

Parameters:

headers - BlobHttpHeaders

Returns:

The updated AppendBlobCreateOptions

setMetadata

public BlockBlobOutputStreamOptions setMetadata(Map<String,String> metadata)

Sets the metadata to associate with the blob.

Parameters:

metadata - The metadata to associate with the blob.

Returns:

The updated options

setParallelTransferOptions

public BlockBlobOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

Parameters:

parallelTransferOptions - ParallelTransferOptions

Returns:

The updated options.

setRequestConditions

public BlockBlobOutputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)

Sets the BlobRequestConditions.

Parameters:

requestConditions - BlobRequestConditions

Returns:

The updated options.

setTags

public BlockBlobOutputStreamOptions setTags(Map<String,String> tags)

Sets the tags to associate with the blob.

Parameters:

tags - The tags to associate with the blob.

Returns:

The updated options.

setTier

public BlockBlobOutputStreamOptions setTier(AccessTier tier)

Sets the AccessTier.

Parameters:

tier - AccessTier

Returns:

The updated options.

Applies to