Class V1ReplicaSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[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) boolean
fullyLabeledReplicas
(Integer fullyLabeledReplicas) The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.Represents the latest available observations of a replica set's current state.The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.ObservedGeneration reflects the generation of the most recently observed ReplicaSet.The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.Replicas is the most recently observed number of non-terminating pods.The number of terminating pods for this replica set.int
hashCode()
observedGeneration
(Long observedGeneration) readyReplicas
(Integer readyReplicas) void
setAvailableReplicas
(Integer availableReplicas) void
setConditions
(List<V1ReplicaSetCondition> conditions) void
setFullyLabeledReplicas
(Integer fullyLabeledReplicas) void
setObservedGeneration
(Long observedGeneration) void
setReadyReplicas
(Integer readyReplicas) void
setReplicas
(Integer replicas) void
setTerminatingReplicas
(Integer terminatingReplicas) terminatingReplicas
(Integer terminatingReplicas) 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:
-
SERIALIZED_NAME_TERMINATING_REPLICAS
- See Also:
-
-
Constructor Details
-
V1ReplicaSetStatus
public V1ReplicaSetStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
The number of available non-terminating pods (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 non-terminating 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
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
getReplicas
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset- Returns:
- replicas
-
setReplicas
-
terminatingReplicas
-
getTerminatingReplicas
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.- Returns:
- terminatingReplicas
-
setTerminatingReplicas
-
equals
-
hashCode
public int hashCode() -
toString
-