public class BlobBreakLeaseOptions extends Object
Constructor and Description |
---|
BlobBreakLeaseOptions() |
Modifier and Type | Method and Description |
---|---|
Duration |
getBreakPeriod() |
BlobLeaseRequestConditions |
getRequestConditions() |
BlobBreakLeaseOptions |
setBreakPeriod(Duration breakPeriod) |
BlobBreakLeaseOptions |
setRequestConditions(BlobLeaseRequestConditions requestConditions) |
public Duration getBreakPeriod()
public BlobBreakLeaseOptions setBreakPeriod(Duration breakPeriod)
breakPeriod
- An optional duration, between 0 and 60 seconds, that the lease should continue before
it is broken. If the break period is longer than the time remaining on the lease the remaining time on the lease
is used. A new lease will not be available before the break period has expired, but the lease may be held for
longer than the break period.public BlobLeaseRequestConditions getRequestConditions()
BlobLeaseRequestConditions
public BlobBreakLeaseOptions setRequestConditions(BlobLeaseRequestConditions requestConditions)
requestConditions
- BlobLeaseRequestConditions
Copyright © 2020 Microsoft Corporation. All rights reserved.