Class V1ReplicaSetStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ReplicaSetStatus extends Object
ReplicaSetStatus represents the current status of a ReplicaSet.
  • Field Details

  • Constructor Details

    • V1ReplicaSetStatus

      public V1ReplicaSetStatus(Integer replicas)
  • Method Details

    • getReplicas

      public Integer getReplicas()
      Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
      Returns:
      the replicas property value
    • setReplicas

      public void setReplicas(Integer replicas)
      Set the replicas property value
      Parameters:
      replicas - property value to set
    • replicas

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

      public Integer getAvailableReplicas()
      The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
      Returns:
      the availableReplicas property value
    • setAvailableReplicas

      public void setAvailableReplicas(Integer availableReplicas)
      Set the availableReplicas property value
      Parameters:
      availableReplicas - property value to set
    • availableReplicas

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

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

      public void setConditions(List<@Valid V1ReplicaSetCondition> conditions)
      Set the conditions property value
      Parameters:
      conditions - property value to set
    • conditions

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

      public V1ReplicaSetStatus addConditionsItem(V1ReplicaSetCondition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getFullyLabeledReplicas

      public Integer getFullyLabeledReplicas()
      The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
      Returns:
      the fullyLabeledReplicas property value
    • setFullyLabeledReplicas

      public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
      Set the fullyLabeledReplicas property value
      Parameters:
      fullyLabeledReplicas - property value to set
    • fullyLabeledReplicas

      public V1ReplicaSetStatus fullyLabeledReplicas(Integer fullyLabeledReplicas)
      Set fullyLabeledReplicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus for chaining.
    • getObservedGeneration

      public Long getObservedGeneration()
      ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
      Parameters:
      observedGeneration - property value to set
    • observedGeneration

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

      public Integer getReadyReplicas()
      The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
      Returns:
      the readyReplicas property value
    • setReadyReplicas

      public void setReadyReplicas(Integer readyReplicas)
      Set the readyReplicas property value
      Parameters:
      readyReplicas - property value to set
    • readyReplicas

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

      public Integer getTerminatingReplicas()
      The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
      Returns:
      the terminatingReplicas property value
    • setTerminatingReplicas

      public void setTerminatingReplicas(Integer terminatingReplicas)
      Set the terminatingReplicas property value
      Parameters:
      terminatingReplicas - property value to set
    • terminatingReplicas

      public V1ReplicaSetStatus terminatingReplicas(Integer terminatingReplicas)
      Set terminatingReplicas in a chainable fashion.
      Returns:
      The same instance of V1ReplicaSetStatus 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