java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loadtestservice.fluent.models.QuotaResourceInner

public final class QuotaResourceInner extends com.azure.core.management.ProxyResource
Quota bucket details object.
  • Constructor Details

    • QuotaResourceInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • limit

      public Integer limit()
      Get the limit property: Current quota limit of the quota bucket.
      Returns:
      the limit value.
    • withLimit

      public QuotaResourceInner withLimit(Integer limit)
      Set the limit property: Current quota limit of the quota bucket.
      Parameters:
      limit - the limit value to set.
      Returns:
      the QuotaResourceInner object itself.
    • usage

      public Integer usage()
      Get the usage property: Current quota usage of the quota bucket.
      Returns:
      the usage value.
    • withUsage

      public QuotaResourceInner withUsage(Integer usage)
      Set the usage property: Current quota usage of the quota bucket.
      Parameters:
      usage - the usage value to set.
      Returns:
      the QuotaResourceInner object itself.
    • provisioningState

      public ResourceState provisioningState()
      Get the provisioningState property: Resource provisioning state.
      Returns:
      the provisioningState value.
    • validate

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