BlobBreakLeaseOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobBreakLeaseOptions
- com.
public class BlobBreakLeaseOptions
Extended options that may be passed when breaking a lease to a blob or container.
Constructor Summary
Constructor | Description |
---|---|
BlobBreakLeaseOptions() |
Creates a new instance of BlobBreakLeaseOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Duration |
getBreakPeriod()
Gets the break period of the lease. |
Blob |
getRequestConditions()
Gets the BlobLeaseRequestConditions. |
Blob |
setBreakPeriod(Duration breakPeriod)
Sets the break period of the lease. |
Blob |
setRequestConditions(BlobLeaseRequestConditions requestConditions)
Sets the BlobLeaseRequestConditions. |
Methods inherited from java.lang.Object
Constructor Details
BlobBreakLeaseOptions
public BlobBreakLeaseOptions()
Creates a new instance of BlobBreakLeaseOptions.
Method Details
getBreakPeriod
public Duration getBreakPeriod()
Gets the break period of the lease.
Returns:
getRequestConditions
public BlobLeaseRequestConditions getRequestConditions()
Gets the BlobLeaseRequestConditions.
Returns:
setBreakPeriod
public BlobBreakLeaseOptions setBreakPeriod(Duration breakPeriod)
Sets the break period of the lease.
Parameters:
Returns:
setRequestConditions
public BlobBreakLeaseOptions setRequestConditions(BlobLeaseRequestConditions requestConditions)
Sets the BlobLeaseRequestConditions.
Parameters:
Returns: