Class V1ReplicaSetStatus

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

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

  • Constructor Details

    • V1ReplicaSetStatus

      public V1ReplicaSetStatus()
  • Method Details

    • availableReplicas

      public V1ReplicaSetStatus availableReplicas(Integer availableReplicas)
    • getAvailableReplicas

      @Nullable public Integer getAvailableReplicas()
      The number of available replicas (ready for at least minReadySeconds) for this replica set.
      Returns:
      availableReplicas
    • setAvailableReplicas

      public void setAvailableReplicas(Integer availableReplicas)
    • conditions

      public V1ReplicaSetStatus conditions(List<V1ReplicaSetCondition> conditions)
    • addConditionsItem

      public V1ReplicaSetStatus addConditionsItem(V1ReplicaSetCondition conditionsItem)
    • getConditions

      @Nullable public List<V1ReplicaSetCondition> getConditions()
      Represents the latest available observations of a replica set's current state.
      Returns:
      conditions
    • setConditions

      public void setConditions(List<V1ReplicaSetCondition> conditions)
    • fullyLabeledReplicas

      public V1ReplicaSetStatus fullyLabeledReplicas(Integer fullyLabeledReplicas)
    • getFullyLabeledReplicas

      @Nullable public Integer getFullyLabeledReplicas()
      The number of pods that have labels matching the labels of the pod template of the replicaset.
      Returns:
      fullyLabeledReplicas
    • setFullyLabeledReplicas

      public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
    • observedGeneration

      public V1ReplicaSetStatus observedGeneration(Long observedGeneration)
    • getObservedGeneration

      @Nullable public Long getObservedGeneration()
      ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
      Returns:
      observedGeneration
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
    • readyReplicas

      public V1ReplicaSetStatus readyReplicas(Integer readyReplicas)
    • getReadyReplicas

      @Nullable public Integer getReadyReplicas()
      readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
      Returns:
      readyReplicas
    • setReadyReplicas

      public void setReadyReplicas(Integer readyReplicas)
    • replicas

      public V1ReplicaSetStatus replicas(Integer replicas)
    • getReplicas

      public Integer getReplicas()
      Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
      Returns:
      replicas
    • setReplicas

      public void setReplicas(Integer replicas)
    • 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