Class V1PersistentVolumeClaimCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1PersistentVolumeClaimCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1PersistentVolumeClaimCondition
extends Object
PersistentVolumeClaimCondition contains details about state of pvc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1PersistentVolumeClaimCondition given an JSON stringlastProbeTime is the time we probed the condition.lastTransitionTime is the time the condition transitioned from one status to another.message is the human-readable message indicating details about last transition.reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition.Status is the status of the condition.getType()
Type is the type of the condition.int
hashCode()
lastProbeTime
(OffsetDateTime lastProbeTime) lastTransitionTime
(OffsetDateTime lastTransitionTime) void
setLastProbeTime
(OffsetDateTime lastProbeTime) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
void
void
toJson()
Convert an instance of V1PersistentVolumeClaimCondition to an JSON stringtoString()
static void
validateJsonElement
(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
-
V1PersistentVolumeClaimCondition
public V1PersistentVolumeClaimCondition()
-
-
Method Details
-
lastProbeTime
-
getLastProbeTime
lastProbeTime is the time we probed the condition.- Returns:
- lastProbeTime
-
setLastProbeTime
-
lastTransitionTime
-
getLastTransitionTime
lastTransitionTime is the time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
message is the human-readable message indicating details about last transition.- Returns:
- message
-
setMessage
-
reason
-
getReason
reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized.- Returns:
- reason
-
setReason
-
status
-
getStatus
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required- Returns:
- status
-
setStatus
-
type
-
getType
Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about- 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 V1PersistentVolumeClaimCondition
-
fromJson
Create an instance of V1PersistentVolumeClaimCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PersistentVolumeClaimCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1PersistentVolumeClaimCondition
-
toJson
Convert an instance of V1PersistentVolumeClaimCondition to an JSON string- Returns:
- JSON string
-