Class V2MetricIdentifier

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V2MetricIdentifier extends Object
MetricIdentifier defines the name and optionally selector for a metric
  • Field Details

  • Constructor Details

    • V2MetricIdentifier

      public V2MetricIdentifier(String name)
  • Method Details

    • getName

      public String getName()
      name is the name of the given metric
      Returns:
      the name property value
    • setName

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

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

      public V1LabelSelector getSelector()
      Returns:
      the selector property value
    • setSelector

      public void setSelector(V1LabelSelector selector)
      Set the selector property value
    • selector

      public V2MetricIdentifier selector(V1LabelSelector selector)
      Set selector in a chainable fashion.
      Returns:
      The same instance of V2MetricIdentifier 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