Class MetricValueStatus

    • Constructor Detail

      • MetricValueStatus

        public MetricValueStatus()
        No args constructor for use in serialization
      • MetricValueStatus

        public MetricValueStatus​(Integer averageUtilization,
                                 Quantity averageValue,
                                 Quantity value)
    • Method Detail

      • getAverageUtilization

        public Integer getAverageUtilization()
        currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
      • setAverageUtilization

        public void setAverageUtilization​(Integer averageUtilization)
        currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
      • getAverageValue

        public Quantity getAverageValue()
        MetricValueStatus holds the current value for a metric
      • setAverageValue

        public void setAverageValue​(Quantity averageValue)
        MetricValueStatus holds the current value for a metric
      • getValue

        public Quantity getValue()
        MetricValueStatus holds the current value for a metric
      • setValue

        public void setValue​(Quantity value)
        MetricValueStatus holds the current value for a metric
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)