Class QuotaUsageResultInner

java.lang.Object
com.azure.resourcemanager.search.fluent.models.QuotaUsageResultInner

public final class QuotaUsageResultInner extends Object
Describes the quota usage for a particular SKU.
  • Constructor Details

    • QuotaUsageResultInner

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

    • id

      public String id()
      Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.
      Returns:
      the id value.
    • withId

      public QuotaUsageResultInner withId(String id)
      Set the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.
      Parameters:
      id - the id value to set.
      Returns:
      the QuotaUsageResultInner object itself.
    • unit

      public String unit()
      Get the unit property: The unit of measurement for the search SKU.
      Returns:
      the unit value.
    • withUnit

      public QuotaUsageResultInner withUnit(String unit)
      Set the unit property: The unit of measurement for the search SKU.
      Parameters:
      unit - the unit value to set.
      Returns:
      the QuotaUsageResultInner object itself.
    • currentValue

      public Integer currentValue()
      Get the currentValue property: The currently used up value for the particular search SKU.
      Returns:
      the currentValue value.
    • withCurrentValue

      public QuotaUsageResultInner withCurrentValue(Integer currentValue)
      Set the currentValue property: The currently used up value for the particular search SKU.
      Parameters:
      currentValue - the currentValue value to set.
      Returns:
      the QuotaUsageResultInner object itself.
    • limit

      public Integer limit()
      Get the limit property: The quota limit for the particular search SKU.
      Returns:
      the limit value.
    • withLimit

      public QuotaUsageResultInner withLimit(Integer limit)
      Set the limit property: The quota limit for the particular search SKU.
      Parameters:
      limit - the limit value to set.
      Returns:
      the QuotaUsageResultInner object itself.
    • name

      public QuotaUsageResultName name()
      Get the name property: The name of the SKU supported by Azure AI Search.
      Returns:
      the name value.
    • validate

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