Class CsmUsageQuotaInner

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CsmUsageQuotaInner

public final class CsmUsageQuotaInner extends Object
Usage of the quota resource.
  • Constructor Details

    • CsmUsageQuotaInner

      public CsmUsageQuotaInner()
  • Method Details

    • unit

      public String unit()
      Get the unit property: Units of measurement for the quota resource.
      Returns:
      the unit value.
    • withUnit

      public CsmUsageQuotaInner withUnit(String unit)
      Set the unit property: Units of measurement for the quota resource.
      Parameters:
      unit - the unit value to set.
      Returns:
      the CsmUsageQuotaInner object itself.
    • nextResetTime

      public OffsetDateTime nextResetTime()
      Get the nextResetTime property: Next reset time for the resource counter.
      Returns:
      the nextResetTime value.
    • withNextResetTime

      public CsmUsageQuotaInner withNextResetTime(OffsetDateTime nextResetTime)
      Set the nextResetTime property: Next reset time for the resource counter.
      Parameters:
      nextResetTime - the nextResetTime value to set.
      Returns:
      the CsmUsageQuotaInner object itself.
    • currentValue

      public Long currentValue()
      Get the currentValue property: The current value of the resource counter.
      Returns:
      the currentValue value.
    • withCurrentValue

      public CsmUsageQuotaInner withCurrentValue(Long currentValue)
      Set the currentValue property: The current value of the resource counter.
      Parameters:
      currentValue - the currentValue value to set.
      Returns:
      the CsmUsageQuotaInner object itself.
    • limit

      public Long limit()
      Get the limit property: The resource limit.
      Returns:
      the limit value.
    • withLimit

      public CsmUsageQuotaInner withLimit(Long limit)
      Set the limit property: The resource limit.
      Parameters:
      limit - the limit value to set.
      Returns:
      the CsmUsageQuotaInner object itself.
    • name

      public LocalizableString name()
      Get the name property: Quota name.
      Returns:
      the name value.
    • withName

      public CsmUsageQuotaInner withName(LocalizableString name)
      Set the name property: Quota name.
      Parameters:
      name - the name value to set.
      Returns:
      the CsmUsageQuotaInner object itself.
    • validate

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