Class BlockBlobSeekableByteChannelWriteOptions

java.lang.Object
com.azure.storage.blob.options.BlockBlobSeekableByteChannelWriteOptions

public final class BlockBlobSeekableByteChannelWriteOptions extends Object
Options for obtaining a SeekableByteChannel backed by an Azure Storage Share File.
  • Constructor Details

  • Method Details

    • getWriteMode

      Gets the usage mode to be used by the resulting channel.
      Returns:
      Usage mode to be used by the resulting channel.
    • getBlockSizeInBytes

      public Long getBlockSizeInBytes()
      Gets the size of individual writes to the service.
      Returns:
      The size of individual writes to the service.
    • setBlockSizeInBytes

      public BlockBlobSeekableByteChannelWriteOptions setBlockSizeInBytes(Long blockSizeInBytes)
      Sets the size of individual writes to the service.
      Parameters:
      blockSizeInBytes - The size of individual writes to the service.
      Returns:
      The updated instance.
    • getHeaders

      public BlobHttpHeaders getHeaders()
      Gets the HTTP headers to write.
      Returns:
      Blob HTTP headers to write.
    • setHeaders

      Sets the HTTP headers to write.
      Parameters:
      headers - Blob HTTP headers to write.
      Returns:
      The updated instance.
    • getMetadata

      public Map<String,String> getMetadata()
      Gets the metadata to write.
      Returns:
      Blob metadata to write.
    • setMetadata

      Sets the metadata to write.
      Parameters:
      metadata - Blob metadata to write.
      Returns:
      The updated instance.
    • getTags

      public Map<String,String> getTags()
      Gets the tags to write.
      Returns:
      Blob tags to write.
    • setTags

      Sets the tags to write.
      Parameters:
      tags - Blob tags to write.
      Returns:
      The updated instance.
    • getTier

      public AccessTier getTier()
      Gets the access tier for the target blob.
      Returns:
      Access tier for the target blob.
    • setTier

      Sets the access tier for the target blob.
      Parameters:
      tier - Access tier for the target blob.
      Returns:
      The updated instance.
    • getRequestConditions

      public BlobRequestConditions getRequestConditions()
      Gets the request conditions for writing to the blob.
      Returns:
      Request conditions for writing to the blob.
    • setRequestConditions

      public BlockBlobSeekableByteChannelWriteOptions setRequestConditions(BlobRequestConditions conditions)
      Sets the request conditions for writing to the blob.
      Parameters:
      conditions - Request conditions for writing to the blob.
      Returns:
      The updated instance.