Class LeaseShareResponseInner

java.lang.Object
com.azure.resourcemanager.storage.fluent.models.LeaseShareResponseInner

public final class LeaseShareResponseInner extends Object
Lease Share response schema.
  • Constructor Details

    • LeaseShareResponseInner

      public LeaseShareResponseInner()
      Creates an instance of LeaseShareResponseInner class.
  • Method Details

    • leaseId

      public String leaseId()
      Get the leaseId property: Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease.
      Returns:
      the leaseId value.
    • withLeaseId

      public LeaseShareResponseInner withLeaseId(String leaseId)
      Set the leaseId property: Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease.
      Parameters:
      leaseId - the leaseId value to set.
      Returns:
      the LeaseShareResponseInner 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 LeaseShareResponseInner 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 LeaseShareResponseInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.