Class StatefulSetStatus.Builder

  • Enclosing class:
    StatefulSetStatus

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

      • collisionCount

        public StatefulSetStatus.Builder collisionCount​(java.lang.Number collisionCount)
        collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
        Returns:
        this.
      • currentReplicas

        public StatefulSetStatus.Builder currentReplicas​(java.lang.Number currentReplicas)
        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
        Returns:
        this.
      • currentRevision

        public StatefulSetStatus.Builder currentRevision​(java.lang.String currentRevision)
        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
        Returns:
        this.
      • observedGeneration

        public StatefulSetStatus.Builder observedGeneration​(java.lang.Number observedGeneration)
        observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
        Returns:
        this.
      • readyReplicas

        public StatefulSetStatus.Builder readyReplicas​(java.lang.Number readyReplicas)
        readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
        Returns:
        this.
      • replicas

        public StatefulSetStatus.Builder replicas​(@NonNull
                                                  @NonNull java.lang.Number replicas)
        replicas is the number of Pods created by the StatefulSet controller.
        Returns:
        this.
      • updateRevision

        public StatefulSetStatus.Builder updateRevision​(java.lang.String updateRevision)
        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
        Returns:
        this.
      • updatedReplicas

        public StatefulSetStatus.Builder updatedReplicas​(java.lang.Number updatedReplicas)
        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
        Returns:
        this.
      • toString

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