Class LeaseContainerResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.storage.fluent.models.LeaseContainerResponseInner
-
public final class LeaseContainerResponseInner extends Object
Lease Container response schema.
-
-
Constructor Summary
Constructors Constructor Description LeaseContainerResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringleaseId()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.StringleaseTimeSeconds()Get the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.voidvalidate()Validates the instance.LeaseContainerResponseInnerwithLeaseId(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.LeaseContainerResponseInnerwithLeaseTimeSeconds(String leaseTimeSeconds)Set the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.
-
-
-
Method Detail
-
leaseId
public 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.- Returns:
- the leaseId value.
-
withLeaseId
public 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.- Parameters:
leaseId- the leaseId value to set.- Returns:
- the LeaseContainerResponseInner object itself.
-
leaseTimeSeconds
public String leaseTimeSeconds()
Get the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.- Returns:
- the leaseTimeSeconds value.
-
withLeaseTimeSeconds
public LeaseContainerResponseInner withLeaseTimeSeconds(String leaseTimeSeconds)
Set the leaseTimeSeconds property: Approximate time remaining in the lease period, in seconds.- Parameters:
leaseTimeSeconds- the leaseTimeSeconds value to set.- Returns:
- the LeaseContainerResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-