Class ReplicaSetStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.ReplicaSetStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ReplicaSetStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceReplicaSetStatus represents the current status of a ReplicaSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicaSetStatus()No args constructor for use in serializationReplicaSetStatus(Integer availableReplicas, List<ReplicaSetCondition> conditions, Integer fullyLabeledReplicas, Long observedGeneration, Integer readyReplicas, Integer replicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()The number of available replicas (ready for at least minReadySeconds) for this replica set.List<ReplicaSetCondition>getConditions()Represents the latest available observations of a replica set's current state.IntegergetFullyLabeledReplicas()The number of pods that have labels matching the labels of the pod template of the replicaset.LonggetObservedGeneration()ObservedGeneration reflects the generation of the most recently observed ReplicaSet.IntegergetReadyReplicas()The number of ready replicas for this replica set.IntegergetReplicas()Replicas is the most recently oberved number of replicas.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)The number of available replicas (ready for at least minReadySeconds) for this replica set.voidsetConditions(List<ReplicaSetCondition> conditions)Represents the latest available observations of a replica set's current state.voidsetFullyLabeledReplicas(Integer fullyLabeledReplicas)The number of pods that have labels matching the labels of the pod template of the replicaset.voidsetObservedGeneration(Long observedGeneration)ObservedGeneration reflects the generation of the most recently observed ReplicaSet.voidsetReadyReplicas(Integer readyReplicas)The number of ready replicas for this replica set.voidsetReplicas(Integer replicas)Replicas is the most recently oberved number of replicas.ReplicaSetStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
The number of available replicas (ready for at least minReadySeconds) for this replica set.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replica set.
-
getConditions
public List<ReplicaSetCondition> getConditions()
Represents the latest available observations of a replica set's current state.
-
setConditions
public void setConditions(List<ReplicaSetCondition> conditions)
Represents the latest available observations of a replica set's current state.
-
getFullyLabeledReplicas
public Integer getFullyLabeledReplicas()
The number of pods that have labels matching the labels of the pod template of the replicaset.
-
setFullyLabeledReplicas
public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replicaset.
-
getObservedGeneration
public Long getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
-
getReadyReplicas
public Integer getReadyReplicas()
The number of ready replicas for this replica set.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
The number of ready replicas for this replica set.
-
getReplicas
public Integer getReplicas()
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
-
setReplicas
public void setReplicas(Integer replicas)
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
-
edit
public ReplicaSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>
-
toBuilder
public ReplicaSetStatusBuilder toBuilder()
-
-