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