Class V1ReplicaSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.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 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 observed 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) 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:
-
openapiFields
-
openapiRequiredFields
-
-
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 observed 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
-
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
-