Class V1ReplicaSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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) boolean
static V1ReplicaSetStatus
Create 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.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) toJson()
Convert an instance of V1ReplicaSetStatus to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object 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
-