Class QuotaBucketRequestProperties

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

public final class QuotaBucketRequestProperties extends Object
New quota request request properties.
  • Constructor Details

    • QuotaBucketRequestProperties

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

    • currentUsage

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

      public QuotaBucketRequestProperties withCurrentUsage(Integer currentUsage)
      Set the currentUsage property: Current quota usage of the quota bucket.
      Parameters:
      currentUsage - the currentUsage value to set.
      Returns:
      the QuotaBucketRequestProperties object itself.
    • currentQuota

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

      public QuotaBucketRequestProperties withCurrentQuota(Integer currentQuota)
      Set the currentQuota property: Current quota limit of the quota bucket.
      Parameters:
      currentQuota - the currentQuota value to set.
      Returns:
      the QuotaBucketRequestProperties object itself.
    • newQuota

      public Integer newQuota()
      Get the newQuota property: New quota limit of the quota bucket.
      Returns:
      the newQuota value.
    • withNewQuota

      public QuotaBucketRequestProperties withNewQuota(Integer newQuota)
      Set the newQuota property: New quota limit of the quota bucket.
      Parameters:
      newQuota - the newQuota value to set.
      Returns:
      the QuotaBucketRequestProperties object itself.
    • dimensions

      Get the dimensions property: Dimensions for new quota request.
      Returns:
      the dimensions value.
    • withDimensions

      Set the dimensions property: Dimensions for new quota request.
      Parameters:
      dimensions - the dimensions value to set.
      Returns:
      the QuotaBucketRequestProperties object itself.
    • validate

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