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