Class DaemonSetStatus.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1.DaemonSetStatus.Builder
-
- Enclosing class:
- DaemonSetStatus
public static class DaemonSetStatus.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DaemonSetStatus.Builder
addToConditions(DaemonSetCondition addToConditions)
DaemonSetStatus
build()
DaemonSetStatus.Builder
clearConditions()
DaemonSetStatus.Builder
collisionCount(java.lang.Number collisionCount)
Count of hash collisions for the DaemonSet.DaemonSetStatus.Builder
conditions(java.util.Collection<? extends DaemonSetCondition> conditions)
DaemonSetStatus.Builder
currentNumberScheduled(@NonNull java.lang.Number currentNumberScheduled)
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod.DaemonSetStatus.Builder
desiredNumberScheduled(@NonNull java.lang.Number desiredNumberScheduled)
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod).DaemonSetStatus.Builder
numberAvailable(java.lang.Number numberAvailable)
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)DaemonSetStatus.Builder
numberMisscheduled(@NonNull java.lang.Number numberMisscheduled)
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod.DaemonSetStatus.Builder
numberReady(@NonNull java.lang.Number numberReady)
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.DaemonSetStatus.Builder
numberUnavailable(java.lang.Number numberUnavailable)
The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)DaemonSetStatus.Builder
observedGeneration(java.lang.Number observedGeneration)
The most recent generation observed by the daemon set controller.java.lang.String
toString()
DaemonSetStatus.Builder
updatedNumberScheduled(java.lang.Number updatedNumberScheduled)
The total number of nodes that are running updated daemon pod
-
-
-
Method Detail
-
collisionCount
public DaemonSetStatus.Builder collisionCount(java.lang.Number collisionCount)
Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.- Returns:
this
.
-
addToConditions
public DaemonSetStatus.Builder addToConditions(DaemonSetCondition addToConditions)
-
conditions
public DaemonSetStatus.Builder conditions(java.util.Collection<? extends DaemonSetCondition> conditions)
-
clearConditions
public DaemonSetStatus.Builder clearConditions()
-
currentNumberScheduled
public DaemonSetStatus.Builder currentNumberScheduled(@NonNull @NonNull java.lang.Number currentNumberScheduled)
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
this
.
-
desiredNumberScheduled
public DaemonSetStatus.Builder desiredNumberScheduled(@NonNull @NonNull java.lang.Number desiredNumberScheduled)
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
this
.
-
numberAvailable
public DaemonSetStatus.Builder numberAvailable(java.lang.Number numberAvailable)
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)- Returns:
this
.
-
numberMisscheduled
public DaemonSetStatus.Builder numberMisscheduled(@NonNull @NonNull java.lang.Number numberMisscheduled)
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
this
.
-
numberReady
public DaemonSetStatus.Builder numberReady(@NonNull @NonNull java.lang.Number numberReady)
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.- Returns:
this
.
-
numberUnavailable
public DaemonSetStatus.Builder numberUnavailable(java.lang.Number numberUnavailable)
The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)- Returns:
this
.
-
observedGeneration
public DaemonSetStatus.Builder observedGeneration(java.lang.Number observedGeneration)
The most recent generation observed by the daemon set controller.- Returns:
this
.
-
updatedNumberScheduled
public DaemonSetStatus.Builder updatedNumberScheduled(java.lang.Number updatedNumberScheduled)
The total number of nodes that are running updated daemon pod- Returns:
this
.
-
build
public DaemonSetStatus build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-