Package com.azure.storage.blob.options
Class BlockBlobSeekableByteChannelWriteOptions
java.lang.Object
com.azure.storage.blob.options.BlockBlobSeekableByteChannelWriteOptions
Options for obtaining a
SeekableByteChannel
backed by an Azure Storage Share File.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Mode to open the channel for writing. -
Constructor Summary
ConstructorsConstructorDescriptionOptions constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetTags()
getTier()
setBlockSizeInBytes
(Long blockSizeInBytes) setHeaders
(BlobHttpHeaders headers) setMetadata
(Map<String, String> metadata) setRequestConditions
(BlobRequestConditions conditions) setTier
(AccessTier tier)
-
Constructor Details
-
BlockBlobSeekableByteChannelWriteOptions
public BlockBlobSeekableByteChannelWriteOptions(BlockBlobSeekableByteChannelWriteOptions.WriteMode mode) Options constructor.- Parameters:
mode
- What usage mode to open the channel in.
-
-
Method Details
-
getWriteMode
- Returns:
- Usage mode to be used by the resulting channel.
-
getBlockSizeInBytes
- Returns:
- The size of individual writes to the service.
-
setBlockSizeInBytes
- Parameters:
blockSizeInBytes
- The size of individual writes to the service.- Returns:
- The updated instance.
-
getHeaders
- Returns:
- Blob HTTP headers to write.
-
setHeaders
- Parameters:
headers
- Blob HTTP headers to write.- Returns:
- The updated instance.
-
getMetadata
- Returns:
- Blob metadata to write.
-
setMetadata
- Parameters:
metadata
- Blob metadata to write.- Returns:
- The updated instance.
-
getTags
- Returns:
- Blob tags to write.
-
setTags
- Parameters:
tags
- Blob tags to write.- Returns:
- The updated instance.
-
getTier
- Returns:
- Access tier for the target blob.
-
setTier
- Parameters:
tier
- Access tier for the target blob.- Returns:
- The updated instance.
-
getRequestConditions
- Returns:
- Request conditions for writing to the blob.
-
setRequestConditions
public BlockBlobSeekableByteChannelWriteOptions setRequestConditions(BlobRequestConditions conditions) - Parameters:
conditions
- Request conditions for writing to the blob.- Returns:
- The updated instance.
-