Class V1PodCondition

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1PodCondition extends Object
PodCondition contains details for the current condition of this pod.
  • Field Details

  • Constructor Details

    • V1PodCondition

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

    • getStatus

      public String getStatus()
      Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
      Returns:
      the status property value
    • setStatus

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

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

      public String getType()
      Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
      Returns:
      the type property value
    • setType

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

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

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

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

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

      public ZonedDateTime getLastTransitionTime()
      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
      Parameters:
      lastTransitionTime - property value to set
    • lastTransitionTime

      public V1PodCondition lastTransitionTime(ZonedDateTime lastTransitionTime)
      Set lastTransitionTime in a chainable fashion.
      Returns:
      The same instance of V1PodCondition 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 V1PodCondition message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V1PodCondition for chaining.
    • getReason

      public String getReason()
      Unique, one-word, CamelCase 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 V1PodCondition reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1PodCondition 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