Class V2ResourceMetricStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ResourceMetricStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V2ResourceMetricStatus extends Object
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.
  • Field Details

  • Constructor Details

  • Method Details

    • getCurrent

      public V2MetricValueStatus getCurrent()
      Returns:
      the current property value
    • setCurrent

      public void setCurrent(V2MetricValueStatus current)
      Set the current property value
    • current

      public V2ResourceMetricStatus current(V2MetricValueStatus current)
      Set current in a chainable fashion.
      Returns:
      The same instance of V2ResourceMetricStatus for chaining.
    • getName

      public String getName()
      name is the name of the resource in question.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V2ResourceMetricStatus name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V2ResourceMetricStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object