Class V1ReplicationControllerStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ReplicationControllerStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ReplicationControllerStatus
extends Object
ReplicationControllerStatus represents the current status of a replication controller.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1ReplicationControllerCondition conditionsItem) Add an item to the conditions property in a chainable fashion.availableReplicas
(Integer availableReplicas) Set availableReplicas in a chainable fashion.conditions
(List<@Valid V1ReplicationControllerCondition> conditions) Set conditions in a chainable fashion.boolean
fullyLabeledReplicas
(Integer fullyLabeledReplicas) Set fullyLabeledReplicas in a chainable fashion.The number of available replicas (ready for at least minReadySeconds) for this replication controller.List<@Valid V1ReplicationControllerCondition>
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) Set observedGeneration in a chainable fashion.readyReplicas
(Integer readyReplicas) Set readyReplicas in a chainable fashion.Set replicas in a chainable fashion.void
setAvailableReplicas
(Integer availableReplicas) Set the availableReplicas property valuevoid
setConditions
(List<@Valid V1ReplicationControllerCondition> conditions) Set the conditions property valuevoid
setFullyLabeledReplicas
(Integer fullyLabeledReplicas) Set the fullyLabeledReplicas property valuevoid
setObservedGeneration
(Long observedGeneration) Set the observedGeneration property valuevoid
setReadyReplicas
(Integer readyReplicas) Set the readyReplicas property valuevoid
setReplicas
(Integer replicas) Set the replicas property valuetoString()
-
Field Details
-
JSON_PROPERTY_AVAILABLE_REPLICAS
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_FULLY_LABELED_REPLICAS
- See Also:
-
JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
-
JSON_PROPERTY_READY_REPLICAS
- See Also:
-
JSON_PROPERTY_REPLICAS
- See Also:
-
-
Constructor Details
-
V1ReplicationControllerStatus
-
-
Method Details
-
getAvailableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replication controller.- Returns:
- the availableReplicas property value
-
setAvailableReplicas
Set the availableReplicas property value -
availableReplicas
Set availableReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
getConditions
Represents the latest available observations of a replication controller's current state.- Returns:
- the conditions property value
-
setConditions
Set the conditions property value -
conditions
public V1ReplicationControllerStatus conditions(List<@Valid V1ReplicationControllerCondition> conditions) Set conditions in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
addconditionsItem
public V1ReplicationControllerStatus addconditionsItem(V1ReplicationControllerCondition conditionsItem) Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
getFullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replication controller.- Returns:
- the fullyLabeledReplicas property value
-
setFullyLabeledReplicas
Set the fullyLabeledReplicas property value -
fullyLabeledReplicas
Set fullyLabeledReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
getObservedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller.- Returns:
- the observedGeneration property value
-
setObservedGeneration
Set the observedGeneration property value -
observedGeneration
Set observedGeneration in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
getReadyReplicas
The number of ready replicas for this replication controller.- Returns:
- the readyReplicas property value
-
setReadyReplicas
Set the readyReplicas property value -
readyReplicas
Set readyReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
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:
- the replicas property value
-
setReplicas
Set the replicas property value -
replicas
Set replicas in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-