Class V1DeploymentStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeploymentStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DeploymentStatus extends Object
DeploymentStatus is the most recently observed status of the Deployment.
  • Field Details

  • Constructor Details

    • V1DeploymentStatus

      public V1DeploymentStatus()
  • Method Details

    • getAvailableReplicas

      public Integer getAvailableReplicas()
      Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
      Returns:
      the availableReplicas property value
    • setAvailableReplicas

      public void setAvailableReplicas(Integer availableReplicas)
      Set the availableReplicas property value
    • availableReplicas

      public V1DeploymentStatus availableReplicas(Integer availableReplicas)
      Set availableReplicas in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getCollisionCount

      public Integer getCollisionCount()
      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:
      the collisionCount property value
    • setCollisionCount

      public void setCollisionCount(Integer collisionCount)
      Set the collisionCount property value
    • collisionCount

      public V1DeploymentStatus collisionCount(Integer collisionCount)
      Set collisionCount in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getConditions

      public List<@Valid V1DeploymentCondition> getConditions()
      Represents the latest available observations of a deployment's current state.
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1DeploymentCondition> conditions)
      Set the conditions property value
    • conditions

      public V1DeploymentStatus conditions(List<@Valid V1DeploymentCondition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • addconditionsItem

      public V1DeploymentStatus addconditionsItem(V1DeploymentCondition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getObservedGeneration

      public Long getObservedGeneration()
      The generation observed by the deployment controller.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
    • observedGeneration

      public V1DeploymentStatus observedGeneration(Long observedGeneration)
      Set observedGeneration in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getReadyReplicas

      public Integer getReadyReplicas()
      readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
      Returns:
      the readyReplicas property value
    • setReadyReplicas

      public void setReadyReplicas(Integer readyReplicas)
      Set the readyReplicas property value
    • readyReplicas

      public V1DeploymentStatus readyReplicas(Integer readyReplicas)
      Set readyReplicas in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getReplicas

      public Integer getReplicas()
      Total number of non-terminated pods targeted by this deployment (their labels match the selector).
      Returns:
      the replicas property value
    • setReplicas

      public void setReplicas(Integer replicas)
      Set the replicas property value
    • replicas

      public V1DeploymentStatus replicas(Integer replicas)
      Set replicas in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getUnavailableReplicas

      public Integer getUnavailableReplicas()
      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:
      the unavailableReplicas property value
    • setUnavailableReplicas

      public void setUnavailableReplicas(Integer unavailableReplicas)
      Set the unavailableReplicas property value
    • unavailableReplicas

      public V1DeploymentStatus unavailableReplicas(Integer unavailableReplicas)
      Set unavailableReplicas in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • getUpdatedReplicas

      public Integer getUpdatedReplicas()
      Total number of non-terminated pods targeted by this deployment that have the desired template spec.
      Returns:
      the updatedReplicas property value
    • setUpdatedReplicas

      public void setUpdatedReplicas(Integer updatedReplicas)
      Set the updatedReplicas property value
    • updatedReplicas

      public V1DeploymentStatus updatedReplicas(Integer updatedReplicas)
      Set updatedReplicas in a chainable fashion.
      Returns:
      The same instance of V1DeploymentStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object