Class V1Condition

java.lang.Object
io.kubernetes.client.openapi.models.V1Condition

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T21:37:40.170033Z[Etc/UTC]") public class V1Condition extends Object
Condition contains details for one aspect of the current state of this API Resource.
  • Field Details

  • Constructor Details

    • V1Condition

      public V1Condition()
  • Method Details

    • lastTransitionTime

      public V1Condition lastTransitionTime(OffsetDateTime lastTransitionTime)
    • getLastTransitionTime

      public OffsetDateTime 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:
      lastTransitionTime
    • setLastTransitionTime

      public void setLastTransitionTime(OffsetDateTime lastTransitionTime)
    • message

      public V1Condition message(String message)
    • getMessage

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

      public void setMessage(String message)
    • observedGeneration

      public V1Condition observedGeneration(Long observedGeneration)
    • getObservedGeneration

      @Nullable 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:
      observedGeneration
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
    • reason

      public V1Condition reason(String reason)
    • 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:
      reason
    • setReason

      public void setReason(String reason)
    • status

      public V1Condition status(String status)
    • getStatus

      public String getStatus()
      status of the condition, one of True, False, Unknown.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • type

      public V1Condition type(String type)
    • getType

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

      public void setType(String type)
    • 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