Class V1JobCondition

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1JobCondition extends Object
JobCondition describes current state of a job.
  • Field Details

  • Constructor Details

    • V1JobCondition

      public V1JobCondition(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 V1JobCondition status(String status)
      Set status in a chainable fashion.
      Returns:
      The same instance of V1JobCondition for chaining.
    • getType

      public String getType()
      Type of job condition, Complete or Failed.
      Returns:
      the type property value
    • setType

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

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

      public ZonedDateTime getLastProbeTime()
      Last time the condition was checked.
      Returns:
      the lastProbeTime property value
    • setLastProbeTime

      public void setLastProbeTime(ZonedDateTime lastProbeTime)
      Set the lastProbeTime property value
      Parameters:
      lastProbeTime - property value to set
    • lastProbeTime

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