Class V1Condition
java.lang.Object
io.kubernetes.client.openapi.models.V1Condition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1Condition
extends Object
Condition contains details for one aspect of the current state of this API Resource.
-
Field Summary
-
Constructor Summary
-
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
(OffsetDateTime lastTransitionTime) observedGeneration
(Long observedGeneration) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
setObservedGeneration
(Long observedGeneration) void
void
void
toString()
-
Field Details
-
SERIALIZED_NAME_LAST_TRANSITION_TIME
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
-
Constructor Details
-
V1Condition
public V1Condition()
-
-
Method Details
-
lastTransitionTime
-
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
-
message
-
getMessage
message is a human readable message indicating details about the transition. This may be an empty string.- Returns:
- message
-
setMessage
-
observedGeneration
-
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
-
reason
-
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
-
status
-
getStatus
status of the condition, one of True, False, Unknown.- Returns:
- status
-
setStatus
-
type
-
getType
type of condition in CamelCase or in foo.example.com/CamelCase.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-