Class MetricStatus

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

    public class MetricStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    MetricStatus describes the last-read state of a single metric.
    • Method Detail

      • getType

        @NonNull
        public @NonNull java.lang.String getType()
        type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
      • setType

        public void setType​(@NonNull
                            @NonNull java.lang.String type)
        type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
      • 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