Class V1ReplicationControllerStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ReplicationControllerStatus extends Object
ReplicationControllerStatus represents the current status of a replication controller.
  • Field Details

  • Constructor Details

    • V1ReplicationControllerStatus

      public V1ReplicationControllerStatus(Integer replicas)
  • Method Details

    • getAvailableReplicas

      public Integer getAvailableReplicas()
      The number of available replicas (ready for at least minReadySeconds) for this replication controller.
      Returns:
      the availableReplicas property value
    • setAvailableReplicas

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

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

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

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

      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1ReplicationControllerStatus for chaining.
    • addconditionsItem

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

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

      public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
      Set the fullyLabeledReplicas property value
    • fullyLabeledReplicas

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

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

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

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

      public Integer getReadyReplicas()
      The number of ready replicas for this replication controller.
      Returns:
      the readyReplicas property value
    • setReadyReplicas

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

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

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

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

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