Class V1StatefulSetStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1StatefulSetStatus extends Object
StatefulSetStatus represents the current state of a StatefulSet.
  • Field Details

  • Constructor Details

    • V1StatefulSetStatus

      public V1StatefulSetStatus(Integer replicas)
  • Method Details

    • getReplicas

      public Integer getReplicas()
      replicas is the number of Pods created by the StatefulSet controller.
      Returns:
      the replicas property value
    • setReplicas

      public void setReplicas(Integer replicas)
      Set the replicas property value
      Parameters:
      replicas - property value to set
    • replicas

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

      public Integer getAvailableReplicas()
      Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
      Returns:
      the availableReplicas property value
    • setAvailableReplicas

      public void setAvailableReplicas(Integer availableReplicas)
      Set the availableReplicas property value
      Parameters:
      availableReplicas - property value to set
    • availableReplicas

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

      public Integer getCollisionCount()
      collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
      Returns:
      the collisionCount property value
    • setCollisionCount

      public void setCollisionCount(Integer collisionCount)
      Set the collisionCount property value
      Parameters:
      collisionCount - property value to set
    • collisionCount

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

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

      public void setConditions(List<@Valid V1StatefulSetCondition> conditions)
      Set the conditions property value
      Parameters:
      conditions - property value to set
    • conditions

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

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

      public Integer getCurrentReplicas()
      currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
      Returns:
      the currentReplicas property value
    • setCurrentReplicas

      public void setCurrentReplicas(Integer currentReplicas)
      Set the currentReplicas property value
      Parameters:
      currentReplicas - property value to set
    • currentReplicas

      public V1StatefulSetStatus currentReplicas(Integer currentReplicas)
      Set currentReplicas in a chainable fashion.
      Returns:
      The same instance of V1StatefulSetStatus for chaining.
    • getCurrentRevision

      public String getCurrentRevision()
      currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
      Returns:
      the currentRevision property value
    • setCurrentRevision

      public void setCurrentRevision(String currentRevision)
      Set the currentRevision property value
      Parameters:
      currentRevision - property value to set
    • currentRevision

      public V1StatefulSetStatus currentRevision(String currentRevision)
      Set currentRevision in a chainable fashion.
      Returns:
      The same instance of V1StatefulSetStatus for chaining.
    • getObservedGeneration

      public Long getObservedGeneration()
      observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
      Parameters:
      observedGeneration - property value to set
    • observedGeneration

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

      public Integer getReadyReplicas()
      readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
      Returns:
      the readyReplicas property value
    • setReadyReplicas

      public void setReadyReplicas(Integer readyReplicas)
      Set the readyReplicas property value
      Parameters:
      readyReplicas - property value to set
    • readyReplicas

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

      public String getUpdateRevision()
      updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
      Returns:
      the updateRevision property value
    • setUpdateRevision

      public void setUpdateRevision(String updateRevision)
      Set the updateRevision property value
      Parameters:
      updateRevision - property value to set
    • updateRevision

      public V1StatefulSetStatus updateRevision(String updateRevision)
      Set updateRevision in a chainable fashion.
      Returns:
      The same instance of V1StatefulSetStatus for chaining.
    • getUpdatedReplicas

      public Integer getUpdatedReplicas()
      updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
      Returns:
      the updatedReplicas property value
    • setUpdatedReplicas

      public void setUpdatedReplicas(Integer updatedReplicas)
      Set the updatedReplicas property value
      Parameters:
      updatedReplicas - property value to set
    • updatedReplicas

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