Class V1PersistentVolumeStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PersistentVolumeStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PersistentVolumeStatus
extends Object
PersistentVolumeStatus is the current status of a persistent volume.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.int
hashCode()
Set message in a chainable fashion.Set phase in a chainable fashion.Set reason in a chainable fashion.void
setMessage
(String message) Set the message property valuevoid
Set the phase property valuevoid
Set the reason property valuetoString()
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_PHASE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
V1PersistentVolumeStatus
public V1PersistentVolumeStatus()
-
-
Method Details
-
getMessage
message is a human-readable message indicating details about why the volume is in this state.- Returns:
- the message property value
-
setMessage
Set the message property value -
message
Set message in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeStatus for chaining.
-
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:
- the phase property value
-
setPhase
Set the phase property value -
phase
Set phase in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeStatus for chaining.
-
getReason
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.- Returns:
- the reason property value
-
setReason
Set the reason property value -
reason
Set reason in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-