Class V1ReplicationControllerStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicationControllerStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1ReplicationControllerStatus
extends Object
ReplicationControllerStatus represents the current status of a replication controller.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1ReplicationControllerCondition conditionsItem) availableReplicas
(Integer availableReplicas) conditions
(List<V1ReplicationControllerCondition> conditions) boolean
Create an instance of V1ReplicationControllerStatus given an JSON stringfullyLabeledReplicas
(Integer fullyLabeledReplicas) The number of available replicas (ready for at least minReadySeconds) for this replication controller.Represents the latest available observations of a replication controller's current state.The number of pods that have labels matching the labels of the pod template of the replication controller.ObservedGeneration reflects the generation of the most recently observed replication controller.The number of ready replicas for this replication controller.Replicas is the most recently observed number of replicas.int
hashCode()
observedGeneration
(Long observedGeneration) readyReplicas
(Integer readyReplicas) void
setAvailableReplicas
(Integer availableReplicas) void
setConditions
(List<V1ReplicationControllerCondition> conditions) void
setFullyLabeledReplicas
(Integer fullyLabeledReplicas) void
setObservedGeneration
(Long observedGeneration) void
setReadyReplicas
(Integer readyReplicas) void
setReplicas
(Integer replicas) toJson()
Convert an instance of V1ReplicationControllerStatus 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
-
V1ReplicationControllerStatus
public V1ReplicationControllerStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replication controller.- Returns:
- availableReplicas
-
setAvailableReplicas
-
conditions
-
addConditionsItem
public V1ReplicationControllerStatus addConditionsItem(V1ReplicationControllerCondition conditionsItem) -
getConditions
Represents the latest available observations of a replication controller's current state.- Returns:
- conditions
-
setConditions
-
fullyLabeledReplicas
-
getFullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replication controller.- Returns:
- fullyLabeledReplicas
-
setFullyLabeledReplicas
-
observedGeneration
-
getObservedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller.- Returns:
- observedGeneration
-
setObservedGeneration
-
readyReplicas
-
getReadyReplicas
The number of ready replicas for this replication controller.- 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 V1ReplicationControllerStatus
-
fromJson
Create an instance of V1ReplicationControllerStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ReplicationControllerStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1ReplicationControllerStatus
-
toJson
Convert an instance of V1ReplicationControllerStatus to an JSON string- Returns:
- JSON string
-