Class ReplicaSetStatus.Builder

  • Enclosing class:
    ReplicaSetStatus

    public static class ReplicaSetStatus.Builder
    extends java.lang.Object
    • 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.
      • 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)
        readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
        Returns:
        this.
      • replicas

        public ReplicaSetStatus.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.
      • toString

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