Class MetricValueStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MetricValueStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MetricValueStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MetricValueStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MetricValueStatus holds the current value for a metric
    See Also:
    Serialized Form
    • Constructor Detail

      • MetricValueStatus

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

        public MetricValueStatus​(Integer averageUtilization,
                                 io.fabric8.kubernetes.api.model.Quantity averageValue,
                                 io.fabric8.kubernetes.api.model.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 io.fabric8.kubernetes.api.model.Quantity getAverageValue()
        MetricValueStatus holds the current value for a metric
      • setAverageValue

        public void setAverageValue​(io.fabric8.kubernetes.api.model.Quantity averageValue)
        MetricValueStatus holds the current value for a metric
      • getValue

        public io.fabric8.kubernetes.api.model.Quantity getValue()
        MetricValueStatus holds the current value for a metric
      • setValue

        public void setValue​(io.fabric8.kubernetes.api.model.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)