Class V1ReplicaSetStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ReplicaSetStatus extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
  • Field Details

  • Constructor Details

    • V1ReplicaSetStatus

      public V1ReplicaSetStatus(Integer replicas)
  • Method Details

    • getAvailableReplicas

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

      public void setAvailableReplicas(Integer availableReplicas)
      Set the availableReplicas property value
    • availableReplicas

      public V1ReplicaSetStatus availableReplicas(Integer availableReplicas)
      Set availableReplicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getConditions

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

      public void setConditions(List<@Valid V1ReplicaSetCondition> conditions)
      Set the conditions property value
    • conditions

      public V1ReplicaSetStatus conditions(List<@Valid V1ReplicaSetCondition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • addconditionsItem

      public V1ReplicaSetStatus addconditionsItem(V1ReplicaSetCondition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getFullyLabeledReplicas

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

      public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
      Set the fullyLabeledReplicas property value
    • fullyLabeledReplicas

      public V1ReplicaSetStatus fullyLabeledReplicas(Integer fullyLabeledReplicas)
      Set fullyLabeledReplicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getObservedGeneration

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

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
    • observedGeneration

      public V1ReplicaSetStatus observedGeneration(Long observedGeneration)
      Set observedGeneration in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getReadyReplicas

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

      public void setReadyReplicas(Integer readyReplicas)
      Set the readyReplicas property value
    • readyReplicas

      public V1ReplicaSetStatus readyReplicas(Integer readyReplicas)
      Set readyReplicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getReplicas

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

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

      public V1ReplicaSetStatus replicas(Integer replicas)
      Set replicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus 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