Class ResourceUsageInner


  • public final class ResourceUsageInner
    extends Object
    The usage and limit (quota) for a resource.
    • Constructor Detail

      • ResourceUsageInner

        public ResourceUsageInner()
    • Method Detail

      • limit

        public Integer limit()
        Get the limit property: The limit (quota) for this resource.
        Returns:
        the limit value.
      • unit

        public String unit()
        Get the unit property: Unit that the limit and usages are expressed in, such as 'Count'.
        Returns:
        the unit value.
      • currentValue

        public Integer currentValue()
        Get the currentValue property: The current usage of this resource.
        Returns:
        the currentValue value.
      • name

        public ResourceUsageName name()
        Get the name property: Naming information for this resource type.
        Returns:
        the name value.
      • validate

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