Class V1ReplicaSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1ReplicaSetStatus
extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1ReplicaSetCondition conditionsItem) availableReplicas(Integer availableReplicas) conditions(List<V1ReplicaSetCondition> conditions) booleanstatic V1ReplicaSetStatusCreate an instance of V1ReplicaSetStatus given an JSON stringfullyLabeledReplicas(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.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) voidsetTerminatingReplicas(Integer terminatingReplicas) terminatingReplicas(Integer terminatingReplicas) toJson()Convert an instance of V1ReplicaSetStatus to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
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:
-
openapiFields
-
openapiRequiredFields
-
-
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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1ReplicaSetStatus
-
fromJson
Create an instance of V1ReplicaSetStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ReplicaSetStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1ReplicaSetStatus
-
toJson
Convert an instance of V1ReplicaSetStatus to an JSON string- Returns:
- JSON string
-