Class IoK8sApiAppsV1StatefulSetStatus


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiAppsV1StatefulSetStatus
    extends Object
    StatefulSetStatus represents the current state of a StatefulSet.
    • Constructor Detail

      • IoK8sApiAppsV1StatefulSetStatus

        public IoK8sApiAppsV1StatefulSetStatus()
    • Method Detail

      • getCollisionCount

        @Nullable
        public Integer getCollisionCount()
        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:
        collisionCount
      • setCollisionCount

        public void setCollisionCount​(Integer collisionCount)
      • getConditions

        @Nullable
        public List<IoK8sApiAppsV1StatefulSetCondition> getConditions()
        Represents the latest available observations of a statefulset's current state.
        Returns:
        conditions
      • getCurrentReplicas

        @Nullable
        public Integer getCurrentReplicas()
        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
        Returns:
        currentReplicas
      • setCurrentReplicas

        public void setCurrentReplicas​(Integer currentReplicas)
      • getCurrentRevision

        @Nullable
        public String getCurrentRevision()
        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
        Returns:
        currentRevision
      • setCurrentRevision

        public void setCurrentRevision​(String currentRevision)
      • getObservedGeneration

        @Nullable
        public Long getObservedGeneration()
        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:
        observedGeneration
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
      • getReadyReplicas

        @Nullable
        public Integer getReadyReplicas()
        readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
        Returns:
        readyReplicas
      • setReadyReplicas

        public void setReadyReplicas​(Integer readyReplicas)
      • getReplicas

        public Integer getReplicas()
        replicas is the number of Pods created by the StatefulSet controller.
        Returns:
        replicas
      • setReplicas

        public void setReplicas​(Integer replicas)
      • getUpdateRevision

        @Nullable
        public String getUpdateRevision()
        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
        Returns:
        updateRevision
      • setUpdateRevision

        public void setUpdateRevision​(String updateRevision)
      • getUpdatedReplicas

        @Nullable
        public Integer getUpdatedReplicas()
        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
        Returns:
        updatedReplicas
      • setUpdatedReplicas

        public void setUpdatedReplicas​(Integer updatedReplicas)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object