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 OffsetDateTime getLastProbeTime()
      Last time we probed the condition.
      Returns:
      the lastProbeTime property value
    • setLastProbeTime

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

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

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

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

      public V1PodCondition lastTransitionTime(OffsetDateTime 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.
    • getObservedGeneration

      public Long getObservedGeneration()
      If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
      Parameters:
      observedGeneration - property value to set
    • observedGeneration

      public V1PodCondition observedGeneration(Long observedGeneration)
      Set observedGeneration 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