Class V1NodeCondition

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1NodeCondition extends Object
NodeCondition contains condition information for a node.
  • Field Details

  • Constructor Details

    • V1NodeCondition

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

    • getStatus

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

      public void setStatus(String status)
      Set the status property value
      Parameters:
      status - property value to set
    • status

      public V1NodeCondition status(String status)
      Set status in a chainable fashion.
      Returns:
      The same instance of V1NodeCondition for chaining.
    • getType

      public String getType()
      Type of node condition.
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
      Parameters:
      type - property value to set
    • type

      public V1NodeCondition type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1NodeCondition for chaining.
    • getLastHeartbeatTime

      public ZonedDateTime getLastHeartbeatTime()
      Last time we got an update on a given condition.
      Returns:
      the lastHeartbeatTime property value
    • setLastHeartbeatTime

      public void setLastHeartbeatTime(ZonedDateTime lastHeartbeatTime)
      Set the lastHeartbeatTime property value
      Parameters:
      lastHeartbeatTime - property value to set
    • lastHeartbeatTime

      public V1NodeCondition lastHeartbeatTime(ZonedDateTime lastHeartbeatTime)
      Set lastHeartbeatTime in a chainable fashion.
      Returns:
      The same instance of V1NodeCondition for chaining.
    • getLastTransitionTime

      public ZonedDateTime getLastTransitionTime()
      Last time the condition transit from one status to another.
      Returns:
      the lastTransitionTime property value
    • setLastTransitionTime

      public void setLastTransitionTime(ZonedDateTime lastTransitionTime)
      Set the lastTransitionTime property value
      Parameters:
      lastTransitionTime - property value to set
    • lastTransitionTime

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

      public String getMessage()
      Human readable message indicating details about last transition.
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
      Parameters:
      message - property value to set
    • message

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

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

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

      public V1NodeCondition reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1NodeCondition 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