Class QuotaResourceProperties

java.lang.Object
com.azure.resourcemanager.loadtestservice.fluent.models.QuotaResourceProperties

public final class QuotaResourceProperties extends Object
Quota bucket resource properties.
  • Constructor Details

    • QuotaResourceProperties

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

    • limit

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

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

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

      public QuotaResourceProperties withUsage(Integer usage)
      Set the usage property: Current quota usage of the quota bucket.
      Parameters:
      usage - the usage value to set.
      Returns:
      the QuotaResourceProperties 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.