Delen via


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()

Method Summary

Modifier and Type Method and Description
BlobHttpHeaders getHeaders()
Map<String,String> getMetadata()
ParallelTransferOptions getParallelTransferOptions()
BlobRequestConditions getRequestConditions()
Map<String,String> getTags()
AccessTier getTier()
BlockBlobOutputStreamOptions setHeaders(BlobHttpHeaders headers)
BlockBlobOutputStreamOptions setMetadata(Map<String,String> metadata)
BlockBlobOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
BlockBlobOutputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)
BlockBlobOutputStreamOptions setTags(Map<String,String> tags)
BlockBlobOutputStreamOptions setTier(AccessTier tier)

Methods inherited from java.lang.Object

Constructor Details

BlockBlobOutputStreamOptions

public BlockBlobOutputStreamOptions()

Method Details

getHeaders

public BlobHttpHeaders getHeaders()

Returns:

getMetadata

public Map getMetadata()

Returns:

The metadata to associate with the blob.

getParallelTransferOptions

public ParallelTransferOptions getParallelTransferOptions()

Returns:

getRequestConditions

public BlobRequestConditions getRequestConditions()

Returns:

getTags

public Map getTags()

Returns:

The tags to associate with the blob.

getTier

public AccessTier getTier()

Returns:

setHeaders

public BlockBlobOutputStreamOptions setHeaders(BlobHttpHeaders headers)

Parameters:

headers - BlobHttpHeaders

Returns:

The updated AppendBlobCreateOptions

setMetadata

public BlockBlobOutputStreamOptions setMetadata(Map metadata)

Parameters:

metadata - The metadata to associate with the blob.

Returns:

The updated options

setParallelTransferOptions

public BlockBlobOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Parameters:

parallelTransferOptions - ParallelTransferOptions

Returns:

The updated options.

setRequestConditions

public BlockBlobOutputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)

Parameters:

requestConditions - BlobRequestConditions

Returns:

The updated options.

setTags

public BlockBlobOutputStreamOptions setTags(Map tags)

Parameters:

tags - The tags to associate with the blob.

Returns:

The updated options.

setTier

public BlockBlobOutputStreamOptions setTier(AccessTier tier)

Parameters:

tier - AccessTier

Returns:

The updated options.

Applies to