Class V1ScaleStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ScaleStatus extends Object
ScaleStatus represents the current status of a scale subresource.
  • Field Details

  • Constructor Details

    • V1ScaleStatus

      public V1ScaleStatus(Integer replicas)
  • Method Details

    • getReplicas

      public Integer getReplicas()
      replicas is the actual number of observed instances of the scaled object.
      Returns:
      the replicas property value
    • setReplicas

      public void setReplicas(Integer replicas)
      Set the replicas property value
    • replicas

      public V1ScaleStatus replicas(Integer replicas)
      Set replicas in a chainable fashion.
      Returns:
      The same instance of V1ScaleStatus for chaining.
    • getSelector

      public String getSelector()
      selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      Returns:
      the selector property value
    • setSelector

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

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