Package com.azure.storage.blob.options
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 Summary
Constructors Constructor Description BlockBlobListBlocksOptions(BlockListType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIfTagsMatch()
Gets the SQL statement that apply to the tags of the blob.String
getLeaseId()
Gets the lease ID that blobs and containers must match.BlockListType
getType()
Gets the type of blocks to list.BlockBlobListBlocksOptions
setIfTagsMatch(String ifTagsMatch)
Optionally applies the SQL statement to the tags of the blob.BlockBlobListBlocksOptions
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
-
-
-
Constructor Detail
-
BlockBlobListBlocksOptions
public BlockBlobListBlocksOptions(BlockListType type)
- Parameters:
type
- Specifies which type of blocks to return.
-
-
Method Detail
-
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.
-
-