你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobSetAccessTierOptions Class

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

public class BlobSetAccessTierOptions

Extended options that may be passed when setting tier for a blob.

Constructor Summary

Constructor Description
BlobSetAccessTierOptions(AccessTier tier)

Creates a new instance of BlobSetAccessTierOptions.

Method Summary

Modifier and Type Method and Description
String getLeaseId()

Gets the lease ID the active lease on the blob must match.

RehydratePriority getPriority()

Gets the priority to set for re-hydrating blobs.

String getTagsConditions()

Gets the SQL statement that apply to the tags of the blob.

AccessTier getTier()

Gets the new tier for the blob.

BlobSetAccessTierOptions setLeaseId(String leaseId)

Sets the lease ID the active lease on the blob must match.

BlobSetAccessTierOptions setPriority(RehydratePriority priority)

Sets the priority to set for re-hydrating blobs.

BlobSetAccessTierOptions setTagsConditions(String tagsConditions)

Sets the SQL statement that apply to the tags of the blob.

Methods inherited from java.lang.Object

Constructor Details

BlobSetAccessTierOptions

public BlobSetAccessTierOptions(AccessTier tier)

Creates a new instance of BlobSetAccessTierOptions.

Parameters:

tier - The new tier for the blob.

Method Details

getLeaseId

public String getLeaseId()

Gets the lease ID the active lease on the blob must match.

Returns:

The lease ID the active lease on the blob must match.

getPriority

public RehydratePriority getPriority()

Gets the priority to set for re-hydrating blobs.

Returns:

Priority to set for re-hydrating blobs.

getTagsConditions

public String getTagsConditions()

Gets the SQL statement that apply to the tags of the blob.

Returns:

The SQL statement that apply to the tags of the blob.

getTier

public AccessTier getTier()

Gets the new tier for the blob.

Returns:

The new tier for the blob.

setLeaseId

public BlobSetAccessTierOptions setLeaseId(String leaseId)

Sets the lease ID the active lease on the blob must match.

Parameters:

leaseId - The lease ID the active lease on the blob must match.

Returns:

The updated BlobSetAccessTierOptions.

setPriority

public BlobSetAccessTierOptions setPriority(RehydratePriority priority)

Sets the priority to set for re-hydrating blobs.

Parameters:

priority - Priority to set for re-hydrating blobs.

Returns:

The updated BlobSetAccessTierOptions.

setTagsConditions

public BlobSetAccessTierOptions setTagsConditions(String tagsConditions)

Sets the SQL statement that apply to the tags of the blob.

Parameters:

tagsConditions - The SQL statement that apply to the tags of the blob.

Returns:

The updated BlobSetAccessTierOptions.

Applies to