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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1Condition extends Object
Condition contains details for one aspect of the current state of this API Resource.
  • Field Details

  • Constructor Details

  • Method Details

    • getLastTransitionTime

      public ZonedDateTime getLastTransitionTime()
      lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
      Returns:
      the lastTransitionTime property value
    • setLastTransitionTime

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

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

      public String getMessage()
      message is a human readable message indicating details about the transition. This may be an empty string.
      Returns:
      the message property value
    • setMessage

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

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

      public String getReason()
      reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
      Returns:
      the reason property value
    • setReason

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

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

      public String getType()
      type of condition in CamelCase or in foo.example.com/CamelCase.
      Returns:
      the type property value
    • setType

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

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

      public Long getObservedGeneration()
      observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

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

      public V1Condition observedGeneration(Long observedGeneration)
      Set observedGeneration in a chainable fashion.
      Returns:
      The same instance of V1Condition 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