Class V1PodCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1PodCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1PodCondition
extends Object
PodCondition contains details for the current condition of this pod.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1PodConditionCreate an instance of V1PodCondition given an JSON stringLast time we probed the condition.Last time the condition transitioned from one status to another.Human-readable message indicating details about last transition.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) voidsetLastProbeTime(OffsetDateTime lastProbeTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1PodCondition to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_PROBE_TIME
- See Also:
-
SERIALIZED_NAME_LAST_TRANSITION_TIME
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
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
-
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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1PodCondition
-
fromJson
Create an instance of V1PodCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1PodCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1PodCondition
-
toJson
Convert an instance of V1PodCondition to an JSON string- Returns:
- JSON string
-