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