public class LeaseContainerRequest extends Object
| Constructor and Description |
|---|
LeaseContainerRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get specifies the lease action.
|
Integer |
breakPeriod()
Get optional.
|
Integer |
leaseDuration()
Get required for acquire.
|
String |
leaseId()
Get identifies the lease.
|
String |
proposedLeaseId()
Get optional for acquire, required for change.
|
LeaseContainerRequest |
withAction(String action)
Set specifies the lease action.
|
LeaseContainerRequest |
withBreakPeriod(Integer breakPeriod)
Set optional.
|
LeaseContainerRequest |
withLeaseDuration(Integer leaseDuration)
Set required for acquire.
|
LeaseContainerRequest |
withLeaseId(String leaseId)
Set identifies the lease.
|
LeaseContainerRequest |
withProposedLeaseId(String proposedLeaseId)
Set optional for acquire, required for change.
|
public String action()
public LeaseContainerRequest withAction(String action)
action - the action value to setpublic String leaseId()
public LeaseContainerRequest withLeaseId(String leaseId)
leaseId - the leaseId value to setpublic Integer breakPeriod()
public LeaseContainerRequest withBreakPeriod(Integer breakPeriod)
breakPeriod - the breakPeriod value to setpublic Integer leaseDuration()
public LeaseContainerRequest withLeaseDuration(Integer leaseDuration)
leaseDuration - the leaseDuration value to setpublic String proposedLeaseId()
public LeaseContainerRequest withProposedLeaseId(String proposedLeaseId)
proposedLeaseId - the proposedLeaseId value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/