microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java
public static AccessCondition generateLeaseCondition(final String leaseID) {
        AccessCondition retCondition = new AccessCondition();
        retCondition.leaseID = leaseID;
        return retCondition;
    }
public static AccessCondition generateLeaseCondition(final String leaseID) {
        AccessCondition retCondition = new AccessCondition();
        retCondition.leaseID = leaseID;
        return retCondition;
    }
public static AccessCondition generateLeaseCondition ( final String leaseID ) { AccessCondition retCondition = new AccessCondition ( ) ; retCondition . leaseID = leaseID ; return retCondition ; }
Returns an access condition such that an operation will be performed only if the resource is accessible under the
specified lease ID.
<p>
For more information, see <a href= 'http://go.microsoft.com/fwlink/?LinkID=224642'>Specifying Conditional Headers
for Blob Service Operations</a>.

@param leaseID
The lease ID to specify.

@return An <code>AccessCondition</code> object that represents the lease condition.
Returns an access condition such that an operation will be performed only if the resource is accessible under the specified lease ID . <p > For more information see <a href = http : // go . microsoft . com / fwlink / ?LinkID = 224642 > Specifying Conditional Headers for Blob Service Operations< / a > .