Class V1PersistentVolumeStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1PersistentVolumeStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1PersistentVolumeStatus
extends Object
PersistentVolumeStatus is the current status of a persistent volume.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.message is a human-readable message indicating details about why the volume is in this state.getPhase()phase indicates if a volume is available, bound to a claim, or released by a claim.reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.inthashCode()lastPhaseTransitionTime(OffsetDateTime lastPhaseTransitionTime) voidsetLastPhaseTransitionTime(OffsetDateTime lastPhaseTransitionTime) voidsetMessage(String message) voidvoidtoString()
-
Field Details
-
SERIALIZED_NAME_LAST_PHASE_TRANSITION_TIME
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_PHASE
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
-
Constructor Details
-
V1PersistentVolumeStatus
public V1PersistentVolumeStatus()
-
-
Method Details
-
lastPhaseTransitionTime
-
getLastPhaseTransitionTime
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.- Returns:
- lastPhaseTransitionTime
-
setLastPhaseTransitionTime
-
message
-
getMessage
message is a human-readable message indicating details about why the volume is in this state.- Returns:
- message
-
setMessage
-
phase
-
getPhase
phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase- Returns:
- phase
-
setPhase
-
reason
-
getReason
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.- Returns:
- reason
-
setReason
-
equals
-
hashCode
public int hashCode() -
toString
-