public class ShareBreakLeaseOptions extends Object
| Constructor and Description |
|---|
ShareBreakLeaseOptions() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getBreakPeriod() |
ShareBreakLeaseOptions |
setBreakPeriod(Duration breakPeriod) |
public Duration getBreakPeriod()
public ShareBreakLeaseOptions 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.