Class V1JobCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1JobCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1JobCondition
extends Object
JobCondition describes current state of a job.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1JobConditionCreate an instance of V1JobCondition given an JSON stringLast time the condition was checked.Last time the condition transit from one status to another.Human readable message indicating details about last transition.(brief) reason for the condition's last transition.Status of the condition, one of True, False, Unknown.getType()Type of job condition, Complete or Failed.inthashCode()lastProbeTime(OffsetDateTime lastProbeTime) lastTransitionTime(OffsetDateTime lastTransitionTime) voidsetLastProbeTime(OffsetDateTime lastProbeTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1JobCondition 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
-
V1JobCondition
public V1JobCondition()
-
-
Method Details
-
lastProbeTime
-
getLastProbeTime
Last time the condition was checked.- Returns:
- lastProbeTime
-
setLastProbeTime
-
lastTransitionTime
-
getLastTransitionTime
Last time the condition transit from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
Human readable message indicating details about last transition.- Returns:
- message
-
setMessage
-
reason
-
getReason
(brief) reason for the condition's last transition.- Returns:
- reason
-
setReason
-
status
-
getStatus
Status of the condition, one of True, False, Unknown.- Returns:
- status
-
setStatus
-
type
-
getType
Type of job condition, Complete or Failed.- 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 V1JobCondition
-
fromJson
Create an instance of V1JobCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1JobCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1JobCondition
-
toJson
Convert an instance of V1JobCondition to an JSON string- Returns:
- JSON string
-