Class V1ReplicaSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ReplicaSetStatus
extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1ReplicaSetCondition conditionsItem) availableReplicas(Integer availableReplicas) conditions(List<V1ReplicaSetCondition> conditions) booleanfullyLabeledReplicas(Integer fullyLabeledReplicas) The number of available replicas (ready for at least minReadySeconds) for this replica set.Represents the latest available observations of a replica set's current state.The number of pods that have labels matching the labels of the pod template of the replicaset.ObservedGeneration reflects the generation of the most recently observed ReplicaSet.readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.Replicas is the most recently oberved number of replicas.inthashCode()observedGeneration(Long observedGeneration) readyReplicas(Integer readyReplicas) voidsetAvailableReplicas(Integer availableReplicas) voidsetConditions(List<V1ReplicaSetCondition> conditions) voidsetFullyLabeledReplicas(Integer fullyLabeledReplicas) voidsetObservedGeneration(Long observedGeneration) voidsetReadyReplicas(Integer readyReplicas) voidsetReplicas(Integer replicas) toString()
-
Field Details
-
SERIALIZED_NAME_AVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_FULLY_LABELED_REPLICAS
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_READY_REPLICAS
- See Also:
-
SERIALIZED_NAME_REPLICAS
- See Also:
-
-
Constructor Details
-
V1ReplicaSetStatus
public V1ReplicaSetStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replica set.- Returns:
- availableReplicas
-
setAvailableReplicas
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a replica set's current state.- Returns:
- conditions
-
setConditions
-
fullyLabeledReplicas
-
getFullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replicaset.- Returns:
- fullyLabeledReplicas
-
setFullyLabeledReplicas
-
observedGeneration
-
getObservedGeneration
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.- Returns:
- observedGeneration
-
setObservedGeneration
-
readyReplicas
-
getReadyReplicas
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-