AccessCondition.generateLeaseCondition(final String leaseID) Method

Definition

Returns an access condition such that an operation will be performed only if the resource is accessible under the specified lease ID.

For more information, see Specifying Conditional Headers for Blob Service Operations.

public static AccessCondition generateLeaseCondition(final String leaseID)

Parameters

leaseID
final String

The lease ID to specify.

Returns

An AccessCondition object that represents the lease condition.

Applies to