public final class LeaseContainerResponseInner extends Object
| Constructor and Description |
|---|
LeaseContainerResponseInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
leaseId()
Get the leaseId property: Returned unique lease ID that must be included with any request to delete the
container, or to renew, change, or release the lease.
|
String |
leaseTimeSeconds()
Get the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.
|
void |
validate()
Validates the instance.
|
LeaseContainerResponseInner |
withLeaseId(String leaseId)
Set the leaseId property: Returned unique lease ID that must be included with any request to delete the
container, or to renew, change, or release the lease.
|
LeaseContainerResponseInner |
withLeaseTimeSeconds(String leaseTimeSeconds)
Set the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.
|
public String leaseId()
public LeaseContainerResponseInner withLeaseId(String leaseId)
leaseId - the leaseId value to set.public String leaseTimeSeconds()
public LeaseContainerResponseInner withLeaseTimeSeconds(String leaseTimeSeconds)
leaseTimeSeconds - the leaseTimeSeconds value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.