Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1StatefulSetStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1StatefulSetStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1StatefulSetStatus extends Object
StatefulSetStatus represents the current state of a StatefulSet.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLLISION_COUNTstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_CURRENT_REPLICASstatic StringJSON_PROPERTY_CURRENT_REVISIONstatic StringJSON_PROPERTY_OBSERVED_GENERATIONstatic StringJSON_PROPERTY_READY_REPLICASstatic StringJSON_PROPERTY_REPLICASstatic StringJSON_PROPERTY_UPDATE_REVISIONstatic StringJSON_PROPERTY_UPDATED_REPLICAS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1StatefulSetStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAppsV1StatefulSetStatusaddConditionsItem(IoK8sApiAppsV1StatefulSetCondition conditionsItem)IoK8sApiAppsV1StatefulSetStatuscollisionCount(Integer collisionCount)IoK8sApiAppsV1StatefulSetStatusconditions(List<IoK8sApiAppsV1StatefulSetCondition> conditions)IoK8sApiAppsV1StatefulSetStatuscurrentReplicas(Integer currentReplicas)IoK8sApiAppsV1StatefulSetStatuscurrentRevision(String currentRevision)booleanequals(Object o)IntegergetCollisionCount()collisionCount is the count of hash collisions for the StatefulSet.List<IoK8sApiAppsV1StatefulSetCondition>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 by the StatefulSet controller that have 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)inthashCode()IoK8sApiAppsV1StatefulSetStatusobservedGeneration(Long observedGeneration)IoK8sApiAppsV1StatefulSetStatusreadyReplicas(Integer readyReplicas)IoK8sApiAppsV1StatefulSetStatusreplicas(Integer replicas)voidsetCollisionCount(Integer collisionCount)voidsetConditions(List<IoK8sApiAppsV1StatefulSetCondition> conditions)voidsetCurrentReplicas(Integer currentReplicas)voidsetCurrentRevision(String currentRevision)voidsetObservedGeneration(Long observedGeneration)voidsetReadyReplicas(Integer readyReplicas)voidsetReplicas(Integer replicas)voidsetUpdatedReplicas(Integer updatedReplicas)voidsetUpdateRevision(String updateRevision)StringtoString()IoK8sApiAppsV1StatefulSetStatusupdatedReplicas(Integer updatedReplicas)IoK8sApiAppsV1StatefulSetStatusupdateRevision(String updateRevision)
-
-
-
Field Detail
-
JSON_PROPERTY_COLLISION_COUNT
public static final String JSON_PROPERTY_COLLISION_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT_REPLICAS
public static final String JSON_PROPERTY_CURRENT_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT_REVISION
public static final String JSON_PROPERTY_CURRENT_REVISION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OBSERVED_GENERATION
public static final String JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READY_REPLICAS
public static final String JSON_PROPERTY_READY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPLICAS
public static final String JSON_PROPERTY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATE_REVISION
public static final String JSON_PROPERTY_UPDATE_REVISION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_REPLICAS
public static final String JSON_PROPERTY_UPDATED_REPLICAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
collisionCount
public IoK8sApiAppsV1StatefulSetStatus collisionCount(Integer collisionCount)
-
getCollisionCount
@Nullable 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:
- collisionCount
-
setCollisionCount
public void setCollisionCount(Integer collisionCount)
-
conditions
public IoK8sApiAppsV1StatefulSetStatus conditions(List<IoK8sApiAppsV1StatefulSetCondition> conditions)
-
addConditionsItem
public IoK8sApiAppsV1StatefulSetStatus addConditionsItem(IoK8sApiAppsV1StatefulSetCondition conditionsItem)
-
getConditions
@Nullable public List<IoK8sApiAppsV1StatefulSetCondition> getConditions()
Represents the latest available observations of a statefulset's current state.- Returns:
- conditions
-
setConditions
public void setConditions(List<IoK8sApiAppsV1StatefulSetCondition> conditions)
-
currentReplicas
public IoK8sApiAppsV1StatefulSetStatus currentReplicas(Integer currentReplicas)
-
getCurrentReplicas
@Nullable public Integer getCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.- Returns:
- currentReplicas
-
setCurrentReplicas
public void setCurrentReplicas(Integer currentReplicas)
-
currentRevision
public IoK8sApiAppsV1StatefulSetStatus currentRevision(String currentRevision)
-
getCurrentRevision
@Nullable public String getCurrentRevision()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).- Returns:
- currentRevision
-
setCurrentRevision
public void setCurrentRevision(String currentRevision)
-
observedGeneration
public IoK8sApiAppsV1StatefulSetStatus observedGeneration(Long observedGeneration)
-
getObservedGeneration
@Nullable 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:
- observedGeneration
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
-
readyReplicas
public IoK8sApiAppsV1StatefulSetStatus readyReplicas(Integer readyReplicas)
-
getReadyReplicas
@Nullable public Integer getReadyReplicas()
readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
-
replicas
public IoK8sApiAppsV1StatefulSetStatus replicas(Integer replicas)
-
getReplicas
public Integer getReplicas()
replicas is the number of Pods created by the StatefulSet controller.- Returns:
- replicas
-
setReplicas
public void setReplicas(Integer replicas)
-
updateRevision
public IoK8sApiAppsV1StatefulSetStatus updateRevision(String updateRevision)
-
getUpdateRevision
@Nullable public String getUpdateRevision()
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)- Returns:
- updateRevision
-
setUpdateRevision
public void setUpdateRevision(String updateRevision)
-
updatedReplicas
public IoK8sApiAppsV1StatefulSetStatus updatedReplicas(Integer updatedReplicas)
-
getUpdatedReplicas
@Nullable public Integer getUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.- Returns:
- updatedReplicas
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
-
-