Class V1ScaleStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1ScaleStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1ScaleStatus extends Object
ScaleStatus represents the current status of a scale subresource.
  • Field Details

  • Constructor Details

    • V1ScaleStatus

      public V1ScaleStatus()
  • Method Details

    • replicas

      public V1ScaleStatus replicas(Integer replicas)
    • getReplicas

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

      public void setReplicas(Integer replicas)
    • selector

      public V1ScaleStatus selector(String selector)
    • getSelector

      @Nullable public String getSelector()
      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: http://kubernetes.io/docs/user-guide/labels#label-selectors
      Returns:
      selector
    • setSelector

      public void setSelector(String selector)
    • 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