Class ReplicationControllerStatus.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ReplicationControllerStatus.Builder
-
- Enclosing class:
- ReplicationControllerStatus
public static class ReplicationControllerStatus.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationControllerStatus.Builder
addToConditions(ReplicationControllerCondition addToConditions)
ReplicationControllerStatus.Builder
availableReplicas(java.lang.Number availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replication controller.ReplicationControllerStatus
build()
ReplicationControllerStatus.Builder
clearConditions()
ReplicationControllerStatus.Builder
conditions(java.util.Collection<? extends ReplicationControllerCondition> conditions)
ReplicationControllerStatus.Builder
fullyLabeledReplicas(java.lang.Number fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replication controller.ReplicationControllerStatus.Builder
observedGeneration(java.lang.Number observedGeneration)
ObservedGeneration reflects the generation of the most recently observed replication controller.ReplicationControllerStatus.Builder
readyReplicas(java.lang.Number readyReplicas)
The number of ready replicas for this replication controller.ReplicationControllerStatus.Builder
replicas(@NonNull java.lang.Number replicas)
Replicas is the most recently observed number of replicas.java.lang.String
toString()
-
-
-
Method Detail
-
availableReplicas
public ReplicationControllerStatus.Builder availableReplicas(java.lang.Number availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replication controller.- Returns:
this
.
-
addToConditions
public ReplicationControllerStatus.Builder addToConditions(ReplicationControllerCondition addToConditions)
-
conditions
public ReplicationControllerStatus.Builder conditions(java.util.Collection<? extends ReplicationControllerCondition> conditions)
-
clearConditions
public ReplicationControllerStatus.Builder clearConditions()
-
fullyLabeledReplicas
public ReplicationControllerStatus.Builder fullyLabeledReplicas(java.lang.Number fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replication controller.- Returns:
this
.
-
observedGeneration
public ReplicationControllerStatus.Builder observedGeneration(java.lang.Number observedGeneration)
ObservedGeneration reflects the generation of the most recently observed replication controller.- Returns:
this
.
-
readyReplicas
public ReplicationControllerStatus.Builder readyReplicas(java.lang.Number readyReplicas)
The number of ready replicas for this replication controller.- Returns:
this
.
-
replicas
public ReplicationControllerStatus.Builder replicas(@NonNull @NonNull java.lang.Number replicas)
Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller- Returns:
this
.
-
build
public ReplicationControllerStatus build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-