BlockBlobSeekableByteChannelWriteOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlockBlobSeekableByteChannelWriteOptions
- com.
public final class BlockBlobSeekableByteChannelWriteOptions
Options for obtaining a SeekableByteChannel backed by an Azure Storage Share File.
Constructor Summary
| Constructor | Description |
|---|---|
| BlockBlobSeekableByteChannelWriteOptions(BlockBlobSeekableByteChannelWriteOptions.WriteMode mode) |
Options constructor. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlockBlobSeekableByteChannelWriteOptions
public BlockBlobSeekableByteChannelWriteOptions(BlockBlobSeekableByteChannelWriteOptions.WriteMode mode)
Options constructor.
Parameters:
Method Details
getBlockSizeInBytes
public Long getBlockSizeInBytes()
Gets the size of individual writes to the service.
Returns:
getHeaders
public BlobHttpHeaders getHeaders()
Gets the HTTP headers to write.
Returns:
getMetadata
public Map<String,String> getMetadata()
Gets the metadata to write.
Returns:
getRequestConditions
public BlobRequestConditions getRequestConditions()
Gets the request conditions for writing to the blob.
Returns:
getTags
public Map<String,String> getTags()
Gets the tags to write.
Returns:
getTier
public AccessTier getTier()
Gets the access tier for the target blob.
Returns:
getWriteMode
public BlockBlobSeekableByteChannelWriteOptions.WriteMode getWriteMode()
Gets the usage mode to be used by the resulting channel.
Returns:
setBlockSizeInBytes
public BlockBlobSeekableByteChannelWriteOptions setBlockSizeInBytes(Long blockSizeInBytes)
Sets the size of individual writes to the service.
Parameters:
Returns:
setHeaders
public BlockBlobSeekableByteChannelWriteOptions setHeaders(BlobHttpHeaders headers)
Sets the HTTP headers to write.
Parameters:
Returns:
setMetadata
public BlockBlobSeekableByteChannelWriteOptions setMetadata(Map<String,String> metadata)
Sets the metadata to write.
Parameters:
Returns:
setRequestConditions
public BlockBlobSeekableByteChannelWriteOptions setRequestConditions(BlobRequestConditions conditions)
Sets the request conditions for writing to the blob.
Parameters:
Returns:
setTags
public BlockBlobSeekableByteChannelWriteOptions setTags(Map<String,String> tags)
Sets the tags to write.
Parameters:
Returns:
setTier
public BlockBlobSeekableByteChannelWriteOptions setTier(AccessTier tier)
Sets the access tier for the target blob.
Parameters:
Returns: