Package com.azure.storage.blob.options
Class BlockBlobOutputStreamOptions
java.lang.Object
com.azure.storage.blob.options.BlockBlobOutputStreamOptions
Extended options that may be passed when opening an output stream to a Block Blob.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets 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
.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
Gets theBlobHttpHeaders
.- Returns:
BlobHttpHeaders
-
setHeaders
Sets theBlobHttpHeaders
.- Parameters:
headers
-BlobHttpHeaders
- Returns:
- The updated
AppendBlobCreateOptions
-
getMetadata
Gets the metadata to associate with the blob.- Returns:
- The metadata to associate with the blob.
-
setMetadata
Sets the metadata to associate with the blob.- Parameters:
metadata
- The metadata to associate with the blob.- Returns:
- The updated options
-
getTags
Gets the tags to associate with the blob.- Returns:
- The tags to associate with the blob.
-
setTags
Sets the tags to associate with the blob.- Parameters:
tags
- The tags to associate with the blob.- Returns:
- The updated options.
-
getTier
Gets theAccessTier
.- Returns:
AccessTier
-
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.
-