Class V1Condition
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 Summary
-
Constructor Summary
ConstructorDescriptionV1Condition
(ZonedDateTime lastTransitionTime, String message, String reason, String status, String type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
lastTransitionTime is the last time the condition transitioned from one status to another.message is a human readable message indicating details about the transition.observedGeneration represents the .metadata.generation that the condition was set based upon.reason contains a programmatic identifier indicating the reason for the condition's last transition.status of the condition, one of True, False, Unknown.getType()
type of condition in CamelCase or in foo.example.com/CamelCase.int
hashCode()
lastTransitionTime
(ZonedDateTime lastTransitionTime) Set lastTransitionTime in a chainable fashion.Set message in a chainable fashion.observedGeneration
(Long observedGeneration) Set observedGeneration in a chainable fashion.Set reason in a chainable fashion.void
setLastTransitionTime
(ZonedDateTime lastTransitionTime) Set the lastTransitionTime property valuevoid
setMessage
(String message) Set the message property valuevoid
setObservedGeneration
(Long observedGeneration) Set the observedGeneration property valuevoid
Set the reason property valuevoid
Set the status property valuevoid
Set the type property valueSet status in a chainable fashion.toString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_LAST_TRANSITION_TIME
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
V1Condition
public V1Condition(ZonedDateTime lastTransitionTime, String message, String reason, String status, String type)
-
-
Method Details
-
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
Set the lastTransitionTime property value -
lastTransitionTime
Set lastTransitionTime in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
getMessage
message is a human readable message indicating details about the transition. This may be an empty string.- Returns:
- the message property value
-
setMessage
Set the message property value -
message
Set message in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
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
Set the observedGeneration property value -
observedGeneration
Set observedGeneration in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
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
Set the reason property value -
reason
Set reason in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
getStatus
status of the condition, one of True, False, Unknown.- Returns:
- the status property value
-
setStatus
Set the status property value -
status
Set status in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
getType
type of condition in CamelCase or in foo.example.com/CamelCase.- Returns:
- the type property value
-
setType
Set the type property value -
type
Set type in a chainable fashion.- Returns:
- The same instance of V1Condition for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-