generate Lease Condition(final String leaseID)
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)
- final String
The lease ID to specify.
AccessCondition object that represents the lease condition.