Class V1NodeCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1NodeCondition
extends Object
NodeCondition contains condition information for a node.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1NodeCondition
Create an instance of V1NodeCondition given an JSON stringLast time we got an update on a given condition.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 node condition.int
hashCode()
lastHeartbeatTime
(OffsetDateTime lastHeartbeatTime) lastTransitionTime
(OffsetDateTime lastTransitionTime) void
setLastHeartbeatTime
(OffsetDateTime lastHeartbeatTime) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
void
void
toJson()
Convert an instance of V1NodeCondition to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_HEARTBEAT_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
-
V1NodeCondition
public V1NodeCondition()
-
-
Method Details
-
lastHeartbeatTime
-
getLastHeartbeatTime
Last time we got an update on a given condition.- Returns:
- lastHeartbeatTime
-
setLastHeartbeatTime
-
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 node condition.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1NodeCondition
-
fromJson
Create an instance of V1NodeCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NodeCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1NodeCondition
-
toJson
Convert an instance of V1NodeCondition to an JSON string- Returns:
- JSON string
-