Class BackupManagementUsageInner


  • public final class BackupManagementUsageInner
    extends Object
    Backup management usages of a vault.
    • Constructor Detail

      • BackupManagementUsageInner

        public BackupManagementUsageInner()
    • Method Detail

      • unit

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

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

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

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

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

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

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

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

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

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

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

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

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