Class V2HorizontalPodAutoscalerCondition

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V2HorizontalPodAutoscalerCondition extends Object
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
  • Field Details

  • Constructor Details

    • V2HorizontalPodAutoscalerCondition

      public V2HorizontalPodAutoscalerCondition(String status, String type)
  • Method Details

    • getLastTransitionTime

      public ZonedDateTime getLastTransitionTime()
      lastTransitionTime is the last time the condition transitioned from one status to another
      Returns:
      the lastTransitionTime property value
    • setLastTransitionTime

      public void setLastTransitionTime(ZonedDateTime lastTransitionTime)
      Set the lastTransitionTime property value
    • lastTransitionTime

      public V2HorizontalPodAutoscalerCondition lastTransitionTime(ZonedDateTime lastTransitionTime)
      Set lastTransitionTime in a chainable fashion.
      Returns:
      The same instance of V2HorizontalPodAutoscalerCondition for chaining.
    • getMessage

      public String getMessage()
      message is a human-readable explanation containing details about the transition
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
    • message

      public V2HorizontalPodAutoscalerCondition message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V2HorizontalPodAutoscalerCondition for chaining.
    • getReason

      public String getReason()
      reason is the reason for the condition's last transition.
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
    • reason

      Set reason in a chainable fashion.
      Returns:
      The same instance of V2HorizontalPodAutoscalerCondition for chaining.
    • getStatus

      public String getStatus()
      status is the status of the condition (True, False, Unknown)
      Returns:
      the status property value
    • setStatus

      public void setStatus(String status)
      Set the status property value
    • status

      Set status in a chainable fashion.
      Returns:
      The same instance of V2HorizontalPodAutoscalerCondition for chaining.
    • getType

      public String getType()
      type describes the current condition
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
    • type

      Set type in a chainable fashion.
      Returns:
      The same instance of V2HorizontalPodAutoscalerCondition 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