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 ReplicationControllerStatusBuilder
edit()
Map<String,Object>
getAdditionalProperties()
Integer
getAvailableReplicas()
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.Integer
getFullyLabeledReplicas()
The number of pods that have labels matching the labels of the pod template of the replication controller.Long
getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed replication controller.Integer
getReadyReplicas()
The number of ready replicas for this replication controller.Integer
getReplicas()
Replicas is the most recently observed number of replicas.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setAvailableReplicas(Integer availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replication controller.void
setConditions(List<ReplicationControllerCondition> conditions)
Represents the latest available observations of a replication controller's current state.void
setFullyLabeledReplicas(Integer fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replication controller.void
setObservedGeneration(Long observedGeneration)
ObservedGeneration reflects the generation of the most recently observed replication controller.void
setReadyReplicas(Integer readyReplicas)
The number of ready replicas for this replication controller.void
setReplicas(Integer replicas)
Replicas is the most recently observed number of replicas.ReplicationControllerStatusBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ReplicationControllerStatusBuilder>
-
toBuilder
public ReplicationControllerStatusBuilder toBuilder()
-
-