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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1StatefulSetCondition conditionsItem) Add an item to the conditions property in a chainable fashion.availableReplicas
(Integer availableReplicas) Set availableReplicas in a chainable fashion.collisionCount
(Integer collisionCount) Set collisionCount in a chainable fashion.conditions
(List<@Valid V1StatefulSetCondition> conditions) Set conditions in a chainable fashion.currentReplicas
(Integer currentReplicas) Set currentReplicas in a chainable fashion.currentRevision
(String currentRevision) Set currentRevision in a chainable fashion.boolean
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.collisionCount is the count of hash collisions for the StatefulSet.List<@Valid V1StatefulSetCondition>
Represents the latest available observations of a statefulset's current state.currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).observedGeneration is the most recent generation observed for this StatefulSet.readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.replicas is the number of Pods created by the StatefulSet controller.updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)int
hashCode()
observedGeneration
(Long observedGeneration) Set observedGeneration in a chainable fashion.readyReplicas
(Integer readyReplicas) Set readyReplicas in a chainable fashion.Set replicas in a chainable fashion.void
setAvailableReplicas
(Integer availableReplicas) Set the availableReplicas property valuevoid
setCollisionCount
(Integer collisionCount) Set the collisionCount property valuevoid
setConditions
(List<@Valid V1StatefulSetCondition> conditions) Set the conditions property valuevoid
setCurrentReplicas
(Integer currentReplicas) Set the currentReplicas property valuevoid
setCurrentRevision
(String currentRevision) Set the currentRevision property valuevoid
setObservedGeneration
(Long observedGeneration) Set the observedGeneration property valuevoid
setReadyReplicas
(Integer readyReplicas) Set the readyReplicas property valuevoid
setReplicas
(Integer replicas) Set the replicas property valuevoid
setUpdatedReplicas
(Integer updatedReplicas) Set the updatedReplicas property valuevoid
setUpdateRevision
(String updateRevision) Set the updateRevision property valuetoString()
updatedReplicas
(Integer updatedReplicas) Set updatedReplicas in a chainable fashion.updateRevision
(String updateRevision) Set updateRevision in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_AVAILABLE_REPLICAS
- See Also:
-
JSON_PROPERTY_COLLISION_COUNT
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_CURRENT_REPLICAS
- See Also:
-
JSON_PROPERTY_CURRENT_REVISION
- See Also:
-
JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
-
JSON_PROPERTY_READY_REPLICAS
- See Also:
-
JSON_PROPERTY_REPLICAS
- See Also:
-
JSON_PROPERTY_UPDATE_REVISION
- See Also:
-
JSON_PROPERTY_UPDATED_REPLICAS
- See Also:
-
-
Constructor Details
-
V1StatefulSetStatus
-
-
Method Details
-
getAvailableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.- Returns:
- the availableReplicas property value
-
setAvailableReplicas
Set the availableReplicas property value -
availableReplicas
Set availableReplicas in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the collisionCount property value -
collisionCount
Set collisionCount in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
getConditions
Represents the latest available observations of a statefulset's current state.- Returns:
- the conditions property value
-
setConditions
Set the conditions property value -
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
addconditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the currentReplicas property value -
currentReplicas
Set currentReplicas in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the currentRevision property value -
currentRevision
Set currentRevision in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the observedGeneration property value -
observedGeneration
Set observedGeneration in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
getReadyReplicas
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.- Returns:
- the readyReplicas property value
-
setReadyReplicas
Set the readyReplicas property value -
readyReplicas
Set readyReplicas in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
getReplicas
replicas is the number of Pods created by the StatefulSet controller.- Returns:
- the replicas property value
-
setReplicas
Set the replicas property value -
replicas
Set replicas in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the updateRevision property value -
updateRevision
Set updateRevision in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
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
Set the updatedReplicas property value -
updatedReplicas
Set updatedReplicas in a chainable fashion.- Returns:
- The same instance of V1StatefulSetStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-