Class StatefulSetStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apps.StatefulSetStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StatefulSetStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StatefulSetStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<StatefulSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
StatefulSetStatus represents the current state of a StatefulSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatefulSetStatus()No args constructor for use in serializationStatefulSetStatus(Integer availableReplicas, Integer collisionCount, List<StatefulSetCondition> conditions, Integer currentReplicas, String currentRevision, Long observedGeneration, Integer readyReplicas, Integer replicas, String updateRevision, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatefulSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.IntegergetCollisionCount()collisionCount is the count of hash collisions for the StatefulSet.List<StatefulSetCondition>getConditions()Represents the latest available observations of a statefulset's current state.IntegergetCurrentReplicas()currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.StringgetCurrentRevision()currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).LonggetObservedGeneration()observedGeneration is the most recent generation observed for this StatefulSet.IntegergetReadyReplicas()readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.IntegergetReplicas()replicas is the number of Pods created by the StatefulSet controller.IntegergetUpdatedReplicas()updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.StringgetUpdateRevision()updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.voidsetCollisionCount(Integer collisionCount)collisionCount is the count of hash collisions for the StatefulSet.voidsetConditions(List<StatefulSetCondition> conditions)Represents the latest available observations of a statefulset's current state.voidsetCurrentReplicas(Integer currentReplicas)currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.voidsetCurrentRevision(String currentRevision)currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).voidsetObservedGeneration(Long observedGeneration)observedGeneration is the most recent generation observed for this StatefulSet.voidsetReadyReplicas(Integer readyReplicas)readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.voidsetReplicas(Integer replicas)replicas is the number of Pods created by the StatefulSet controller.voidsetUpdatedReplicas(Integer updatedReplicas)updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.voidsetUpdateRevision(String updateRevision)updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)StatefulSetStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
-
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.
-
setCollisionCount
public void setCollisionCount(Integer collisionCount)
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.
-
getConditions
public List<StatefulSetCondition> getConditions()
Represents the latest available observations of a statefulset's current state.
-
setConditions
public void setConditions(List<StatefulSetCondition> conditions)
Represents the latest available observations of a statefulset's current state.
-
getCurrentReplicas
public Integer getCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
-
setCurrentReplicas
public void setCurrentReplicas(Integer currentReplicas)
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
-
getCurrentRevision
public String getCurrentRevision()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
-
setCurrentRevision
public void setCurrentRevision(String currentRevision)
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
-
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.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
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.
-
getReadyReplicas
public Integer getReadyReplicas()
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
-
getReplicas
public Integer getReplicas()
replicas is the number of Pods created by the StatefulSet controller.
-
setReplicas
public void setReplicas(Integer replicas)
replicas is the number of Pods created by the StatefulSet controller.
-
getUpdateRevision
public String getUpdateRevision()
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
-
setUpdateRevision
public void setUpdateRevision(String updateRevision)
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
-
edit
public StatefulSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StatefulSetStatusBuilder>
-
toBuilder
public StatefulSetStatusBuilder toBuilder()
-
-