次の方法で共有


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

getHeaders

public BlobHttpHeaders getHeaders()

Gets the BlobHttpHeaders.

Returns:

getMetadata

public Map 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 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:

setHeaders

public BlockBlobOutputStreamOptions setHeaders(BlobHttpHeaders headers)

Sets the BlobHttpHeaders.

Parameters:

headers - BlobHttpHeaders

Returns:

The updated AppendBlobCreateOptions

setMetadata

public BlockBlobOutputStreamOptions setMetadata(Map 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 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