java.lang.Object
com.azure.resourcemanager.recoveryservices.fluent.models.VaultUsageInner

public final class VaultUsageInner extends Object
Usages of a vault.
  • Constructor Details

    • VaultUsageInner

      public VaultUsageInner()
  • Method Details

    • unit

      public UsagesUnit unit()
      Get the unit property: Unit of the usage.
      Returns:
      the unit value.
    • withUnit

      public VaultUsageInner withUnit(UsagesUnit unit)
      Set the unit property: Unit of the usage.
      Parameters:
      unit - the unit value to set.
      Returns:
      the VaultUsageInner object itself.
    • quotaPeriod

      public String quotaPeriod()
      Get the quotaPeriod property: Quota period of usage.
      Returns:
      the quotaPeriod value.
    • withQuotaPeriod

      public VaultUsageInner withQuotaPeriod(String quotaPeriod)
      Set the quotaPeriod property: Quota period of usage.
      Parameters:
      quotaPeriod - the quotaPeriod value to set.
      Returns:
      the VaultUsageInner object itself.
    • nextResetTime

      public OffsetDateTime nextResetTime()
      Get the nextResetTime property: Next reset time of usage.
      Returns:
      the nextResetTime value.
    • withNextResetTime

      public VaultUsageInner withNextResetTime(OffsetDateTime nextResetTime)
      Set the nextResetTime property: Next reset time of usage.
      Parameters:
      nextResetTime - the nextResetTime value to set.
      Returns:
      the VaultUsageInner object itself.
    • currentValue

      public Long currentValue()
      Get the currentValue property: Current value of usage.
      Returns:
      the currentValue value.
    • withCurrentValue

      public VaultUsageInner withCurrentValue(Long currentValue)
      Set the currentValue property: Current value of usage.
      Parameters:
      currentValue - the currentValue value to set.
      Returns:
      the VaultUsageInner object itself.
    • limit

      public Long limit()
      Get the limit property: Limit of usage.
      Returns:
      the limit value.
    • withLimit

      public VaultUsageInner withLimit(Long limit)
      Set the limit property: Limit of usage.
      Parameters:
      limit - the limit value to set.
      Returns:
      the VaultUsageInner object itself.
    • name

      public NameInfo name()
      Get the name property: Name of usage.
      Returns:
      the name value.
    • withName

      public VaultUsageInner withName(NameInfo name)
      Set the name property: Name of usage.
      Parameters:
      name - the name value to set.
      Returns:
      the VaultUsageInner object itself.
    • validate

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