Class ResourceUsageInner


  • public final class ResourceUsageInner
    extends Object
    Output of check resource usage API.
    • Constructor Detail

      • ResourceUsageInner

        public ResourceUsageInner()
    • Method Detail

      • resourceType

        public String resourceType()
        Get the resourceType property: Resource type for which the usage is provided.
        Returns:
        the resourceType value.
      • unit

        public String unit()
        Get the unit property: Unit of the usage. e.g. Count.
        Returns:
        the unit value.
      • currentValue

        public Integer currentValue()
        Get the currentValue property: Actual value of usage on the specified resource type.
        Returns:
        the currentValue value.
      • limit

        public Integer limit()
        Get the limit property: Quota of the specified resource type.
        Returns:
        the limit value.
      • validate

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