Class MetricValueStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class MetricValueStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    MetricValueStatus holds the current value for a metric
    • Constructor Detail

      • MetricValueStatus

        public MetricValueStatus​(java.lang.Number averageUtilization,
                                 java.lang.String averageValue,
                                 java.lang.String value)
      • MetricValueStatus

        public MetricValueStatus()
    • Method Detail

      • getAverageUtilization

        public java.lang.Number 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.
      • getAverageValue

        public java.lang.String getAverageValue()
      • getValue

        public java.lang.String getValue()
      • setAverageUtilization

        public void setAverageUtilization​(java.lang.Number 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.
      • setAverageValue

        public void setAverageValue​(java.lang.String averageValue)
      • setValue

        public void setValue​(java.lang.String value)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object