Class V1ReplicaSetStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ReplicaSetStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ReplicaSetStatus
extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1ReplicaSetCondition conditionsItem) Add an item to the conditions property in a chainable fashion.availableReplicas
(Integer availableReplicas) Set availableReplicas in a chainable fashion.conditions
(List<@Valid V1ReplicaSetCondition> 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 replica set.List<@Valid V1ReplicaSetCondition>
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) 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 V1ReplicaSetCondition> 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
-
V1ReplicaSetStatus
-
-
Method Details
-
getAvailableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replica set.- Returns:
- the availableReplicas property value
-
setAvailableReplicas
Set the availableReplicas property value -
availableReplicas
Set availableReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus for chaining.
-
getConditions
Represents the latest available observations of a replica set's current state.- Returns:
- the conditions property value
-
setConditions
Set the conditions property value -
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus for chaining.
-
addconditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus for chaining.
-
getFullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replicaset.- Returns:
- the fullyLabeledReplicas property value
-
setFullyLabeledReplicas
Set the fullyLabeledReplicas property value -
fullyLabeledReplicas
Set fullyLabeledReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus for chaining.
-
getObservedGeneration
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.- Returns:
- the observedGeneration property value
-
setObservedGeneration
Set the observedGeneration property value -
observedGeneration
Set observedGeneration in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus for chaining.
-
getReadyReplicas
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.- Returns:
- the readyReplicas property value
-
setReadyReplicas
Set the readyReplicas property value -
readyReplicas
Set readyReplicas in a chainable fashion.- Returns:
- The same instance of V1ReplicaSetStatus 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 V1ReplicaSetStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-