Class BlockBlobListBlocksOptions

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

public class BlockBlobListBlocksOptions extends Object
Extended options that may be passed when listing blocks for a block blob.
  • Constructor Details

    • BlockBlobListBlocksOptions

      public BlockBlobListBlocksOptions(BlockListType type)
      Parameters:
      type - Specifies which type of blocks to return.
  • Method Details

    • getType

      public BlockListType getType()
      Gets the type of blocks to list.
      Returns:
      The type of blocks to return.
    • getLeaseId

      public String getLeaseId()
      Gets the lease ID that blobs and containers must match.
      Returns:
      The lease ID that blobs and containers must match.
    • setLeaseId

      public BlockBlobListBlocksOptions setLeaseId(String leaseId)
      Optionally limits requests to blobs and containers that match the lease ID.
      Parameters:
      leaseId - Lease ID that blobs and containers must match.
      Returns:
      The updated BlockBlobListBlocksOptions object.
    • getIfTagsMatch

      public String getIfTagsMatch()
      Gets the SQL statement that apply to the tags of the blob.
      Returns:
      The SQL statement that apply to the tags of the blob.
    • setIfTagsMatch

      public BlockBlobListBlocksOptions setIfTagsMatch(String ifTagsMatch)
      Optionally applies the SQL statement to the tags of the blob.
      Parameters:
      ifTagsMatch - The SQL statement that apply to the tags of the blob.
      Returns:
      The updated BlockBlobListBlocksOptions object.