Package io.fabric8.kubernetes.api.model
Class PersistentVolumeStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PersistentVolumeStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeStatusBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PersistentVolumeStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeStatusBuilder>, KubernetesResource
PersistentVolumeStatus is the current status of a persistent volume.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentVolumeStatus()
No args constructor for use in serializationPersistentVolumeStatus(String lastPhaseTransitionTime, String message, String phase, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentVolumeStatusBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getLastPhaseTransitionTime()
PersistentVolumeStatus is the current status of a persistent volume.String
getMessage()
message is a human-readable message indicating details about why the volume is in this state.String
getPhase()
phase indicates if a volume is available, bound to a claim, or released by a claim.String
getReason()
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setLastPhaseTransitionTime(String lastPhaseTransitionTime)
PersistentVolumeStatus is the current status of a persistent volume.void
setMessage(String message)
message is a human-readable message indicating details about why the volume is in this state.void
setPhase(String phase)
phase indicates if a volume is available, bound to a claim, or released by a claim.void
setReason(String reason)
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.PersistentVolumeStatusBuilder
toBuilder()
-
-
-
Method Detail
-
getLastPhaseTransitionTime
public String getLastPhaseTransitionTime()
PersistentVolumeStatus is the current status of a persistent volume.
-
setLastPhaseTransitionTime
public void setLastPhaseTransitionTime(String lastPhaseTransitionTime)
PersistentVolumeStatus is the current status of a persistent volume.
-
getMessage
public String getMessage()
message is a human-readable message indicating details about why the volume is in this state.
-
setMessage
public void setMessage(String message)
message is a human-readable message indicating details about why the volume is in this state.
-
getPhase
public String 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
-
setPhase
public void setPhase(String phase)
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
-
getReason
public String getReason()
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
-
setReason
public void setReason(String reason)
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
-
edit
public PersistentVolumeStatusBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<PersistentVolumeStatusBuilder>
-
toBuilder
public PersistentVolumeStatusBuilder toBuilder()
-
-