Class V1PodCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1PodCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1PodCondition
extends Object
PodCondition contains details for the current condition of this pod.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanLast time we probed the condition.Last time the condition transitioned from one status to another.Human-readable message indicating details about last transition.If set, this represents the .metadata.generation that the pod condition was set based upon.Unique, one-word, CamelCase reason for the condition's last transition.Status is the status of the condition.getType()Type is the type of the condition.inthashCode()lastProbeTime(OffsetDateTime lastProbeTime) lastTransitionTime(OffsetDateTime lastTransitionTime) observedGeneration(Long observedGeneration) voidsetLastProbeTime(OffsetDateTime lastProbeTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidsetObservedGeneration(Long observedGeneration) voidvoidvoidtoString()
-
Field Details
-
SERIALIZED_NAME_LAST_PROBE_TIME
- See Also:
-
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
-
V1PodCondition
public V1PodCondition()
-
-
Method Details
-
lastProbeTime
-
getLastProbeTime
Last time we probed the condition.- Returns:
- lastProbeTime
-
setLastProbeTime
-
lastTransitionTime
-
getLastTransitionTime
Last time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
Human-readable message indicating details about last transition.- Returns:
- message
-
setMessage
-
observedGeneration
-
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:
- observedGeneration
-
setObservedGeneration
-
reason
-
getReason
Unique, one-word, CamelCase reason for the condition's last transition.- Returns:
- reason
-
setReason
-
status
-
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:
- status
-
setStatus
-
type
-
getType
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-