Package com.azure.storage.blob.options
Class BlockBlobListBlocksOptions
java.lang.Object
com.azure.storage.blob.options.BlockBlobListBlocksOptions
Extended options that may be passed when listing blocks for a block blob.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the SQL statement that apply to the tags of the blob.Gets the lease ID that blobs and containers must match.getType()
Gets the type of blocks to list.setIfTagsMatch
(String ifTagsMatch) Optionally applies the SQL statement to the tags of the blob.setLeaseId
(String leaseId) Optionally limits requests to blobs and containers that match the lease ID.
-
Constructor Details
-
BlockBlobListBlocksOptions
- Parameters:
type
- Specifies which type of blocks to return.
-
-
Method Details
-
getType
Gets the type of blocks to list.- Returns:
- The type of blocks to return.
-
getLeaseId
Gets the lease ID that blobs and containers must match.- Returns:
- The lease ID that blobs and containers must match.
-
setLeaseId
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
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
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.
-