Class UsageInner

    • Constructor Detail

      • UsageInner

        public UsageInner()
    • Method Detail

      • unit

        public UnitType unit()
        Get the unit property: The unit of the metric.
        Returns:
        the unit value.
      • name

        public MetricName name()
        Get the name property: The name information for the metric.
        Returns:
        the name value.
      • quotaPeriod

        public String quotaPeriod()
        Get the quotaPeriod property: The quota period used to summarize the usage values.
        Returns:
        the quotaPeriod value.
      • limit

        public Long limit()
        Get the limit property: Maximum value for this metric.
        Returns:
        the limit value.
      • currentValue

        public Long currentValue()
        Get the currentValue property: Current value for this metric.
        Returns:
        the currentValue value.
      • validate

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