Class V1ReplicationControllerCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicationControllerCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1ReplicationControllerCondition
extends Object
ReplicationControllerCondition describes the state of a replication controller at a certain point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1ReplicationControllerCondition given an JSON stringThe last time the condition transitioned from one status to another.A human readable message indicating details about the transition.The reason for the condition's last transition.Status of the condition, one of True, False, Unknown.getType()Type of replication controller condition.inthashCode()lastTransitionTime(OffsetDateTime lastTransitionTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1ReplicationControllerCondition 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_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
-
V1ReplicationControllerCondition
public V1ReplicationControllerCondition()
-
-
Method Details
-
lastTransitionTime
public V1ReplicationControllerCondition lastTransitionTime(@Nullable OffsetDateTime lastTransitionTime) -
getLastTransitionTime
The last time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
A human readable message indicating details about the transition.- Returns:
- message
-
setMessage
-
reason
-
getReason
The 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 replication controller condition.- 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 V1ReplicationControllerCondition
-
fromJson
Create an instance of V1ReplicationControllerCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ReplicationControllerCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1ReplicationControllerCondition
-
toJson
Convert an instance of V1ReplicationControllerCondition to an JSON string- Returns:
- JSON string
-