Class V1ComponentCondition

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ComponentCondition extends Object
Information about the condition of a component.
  • Field Details

  • Constructor Details

    • V1ComponentCondition

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

    • getStatus

      public String getStatus()
      Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"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 V1ComponentCondition status(String status)
      Set status in a chainable fashion.
      Returns:
      The same instance of V1ComponentCondition for chaining.
    • getType

      public String getType()
      Type of condition for a component. Valid value: \"Healthy\"
      Returns:
      the type property value
    • setType

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

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

      public String getError()
      Condition error code for a component. For example, a health check error code.
      Returns:
      the error property value
    • setError

      public void setError(String error)
      Set the error property value
      Parameters:
      error - property value to set
    • error

      public V1ComponentCondition error(String error)
      Set error in a chainable fashion.
      Returns:
      The same instance of V1ComponentCondition for chaining.
    • getMessage

      public String getMessage()
      Message about the condition for a component. For example, information about a health check.
      Returns:
      the message property value
    • setMessage

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

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