Class DeploymentStatus.Builder

  • Enclosing class:
    DeploymentStatus

    public static class DeploymentStatus.Builder
    extends java.lang.Object
    • Method Detail

      • availableReplicas

        public DeploymentStatus.Builder availableReplicas​(java.lang.Number availableReplicas)
        Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
        Returns:
        this.
      • collisionCount

        public DeploymentStatus.Builder collisionCount​(java.lang.Number collisionCount)
        Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
        Returns:
        this.
      • observedGeneration

        public DeploymentStatus.Builder observedGeneration​(java.lang.Number observedGeneration)
        The generation observed by the deployment controller.
        Returns:
        this.
      • readyReplicas

        public DeploymentStatus.Builder readyReplicas​(java.lang.Number readyReplicas)
        Total number of ready pods targeted by this deployment.
        Returns:
        this.
      • replicas

        public DeploymentStatus.Builder replicas​(java.lang.Number replicas)
        Total number of non-terminated pods targeted by this deployment (their labels match the selector).
        Returns:
        this.
      • unavailableReplicas

        public DeploymentStatus.Builder unavailableReplicas​(java.lang.Number unavailableReplicas)
        Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
        Returns:
        this.
      • updatedReplicas

        public DeploymentStatus.Builder updatedReplicas​(java.lang.Number updatedReplicas)
        Total number of non-terminated pods targeted by this deployment that have the desired template spec.
        Returns:
        this.
      • toString

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