Class DaemonSetStatus.Builder

  • Enclosing class:
    DaemonSetStatus

    public static class DaemonSetStatus.Builder
    extends java.lang.Object
    • 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.
      • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object