Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1ReplicaSetStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1ReplicaSetStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1ReplicaSetStatus extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AVAILABLE_REPLICASstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_FULLY_LABELED_REPLICASstatic StringJSON_PROPERTY_OBSERVED_GENERATIONstatic StringJSON_PROPERTY_READY_REPLICASstatic StringJSON_PROPERTY_REPLICAS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1ReplicaSetStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAppsV1ReplicaSetStatusaddConditionsItem(IoK8sApiAppsV1ReplicaSetCondition conditionsItem)IoK8sApiAppsV1ReplicaSetStatusavailableReplicas(Integer availableReplicas)IoK8sApiAppsV1ReplicaSetStatusconditions(List<IoK8sApiAppsV1ReplicaSetCondition> conditions)booleanequals(Object o)IoK8sApiAppsV1ReplicaSetStatusfullyLabeledReplicas(Integer fullyLabeledReplicas)IntegergetAvailableReplicas()The number of available replicas (ready for at least minReadySeconds) for this replica set.List<IoK8sApiAppsV1ReplicaSetCondition>getConditions()Represents the latest available observations of a replica set's current state.IntegergetFullyLabeledReplicas()The number of pods that have labels matching the labels of the pod template of the replicaset.LonggetObservedGeneration()ObservedGeneration reflects the generation of the most recently observed ReplicaSet.IntegergetReadyReplicas()The number of ready replicas for this replica set.IntegergetReplicas()Replicas is the most recently oberved number of replicas.inthashCode()IoK8sApiAppsV1ReplicaSetStatusobservedGeneration(Long observedGeneration)IoK8sApiAppsV1ReplicaSetStatusreadyReplicas(Integer readyReplicas)IoK8sApiAppsV1ReplicaSetStatusreplicas(Integer replicas)voidsetAvailableReplicas(Integer availableReplicas)voidsetConditions(List<IoK8sApiAppsV1ReplicaSetCondition> conditions)voidsetFullyLabeledReplicas(Integer fullyLabeledReplicas)voidsetObservedGeneration(Long observedGeneration)voidsetReadyReplicas(Integer readyReplicas)voidsetReplicas(Integer replicas)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AVAILABLE_REPLICAS
public static final String JSON_PROPERTY_AVAILABLE_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FULLY_LABELED_REPLICAS
public static final String JSON_PROPERTY_FULLY_LABELED_REPLICAS
- 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
-
-
Method Detail
-
availableReplicas
public IoK8sApiAppsV1ReplicaSetStatus availableReplicas(Integer availableReplicas)
-
getAvailableReplicas
@Nullable public Integer getAvailableReplicas()
The number of available replicas (ready for at least minReadySeconds) for this replica set.- Returns:
- availableReplicas
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
-
conditions
public IoK8sApiAppsV1ReplicaSetStatus conditions(List<IoK8sApiAppsV1ReplicaSetCondition> conditions)
-
addConditionsItem
public IoK8sApiAppsV1ReplicaSetStatus addConditionsItem(IoK8sApiAppsV1ReplicaSetCondition conditionsItem)
-
getConditions
@Nullable public List<IoK8sApiAppsV1ReplicaSetCondition> getConditions()
Represents the latest available observations of a replica set's current state.- Returns:
- conditions
-
setConditions
public void setConditions(List<IoK8sApiAppsV1ReplicaSetCondition> conditions)
-
fullyLabeledReplicas
public IoK8sApiAppsV1ReplicaSetStatus fullyLabeledReplicas(Integer fullyLabeledReplicas)
-
getFullyLabeledReplicas
@Nullable public Integer getFullyLabeledReplicas()
The number of pods that have labels matching the labels of the pod template of the replicaset.- Returns:
- fullyLabeledReplicas
-
setFullyLabeledReplicas
public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
-
observedGeneration
public IoK8sApiAppsV1ReplicaSetStatus observedGeneration(Long observedGeneration)
-
getObservedGeneration
@Nullable public Long getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.- Returns:
- observedGeneration
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
-
readyReplicas
public IoK8sApiAppsV1ReplicaSetStatus readyReplicas(Integer readyReplicas)
-
getReadyReplicas
@Nullable public Integer getReadyReplicas()
The number of ready replicas for this replica set.- Returns:
- readyReplicas
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
-
replicas
public IoK8sApiAppsV1ReplicaSetStatus replicas(Integer replicas)
-
getReplicas
public Integer getReplicas()
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller- Returns:
- replicas
-
setReplicas
public void setReplicas(Integer replicas)
-
-