Compartilhar via


BlockBlobListBlocksOptions Class

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

public class BlockBlobListBlocksOptions

Extended options that may be passed when listing blocks for a block blob.

Constructor Summary

Constructor Description
BlockBlobListBlocksOptions(BlockListType type)

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

BlockBlobListBlocksOptions

public BlockBlobListBlocksOptions(BlockListType type)

Parameters:

type - Specifies which type of blocks to return.

Method Details

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.

getLeaseId

public String getLeaseId()

Gets the lease ID that blobs and containers must match.

Returns:

The lease ID that blobs and containers must match.

getType

public BlockListType getType()

Gets the type of blocks to list.

Returns:

The type of blocks to return.

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.

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.

Applies to