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 PersistentVolumeStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastPhaseTransitionTime()PersistentVolumeStatus is the current status of a persistent volume.StringgetMessage()message is a human-readable message indicating details about why the volume is in this state.StringgetPhase()phase indicates if a volume is available, bound to a claim, or released by a claim.StringgetReason()reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLastPhaseTransitionTime(String lastPhaseTransitionTime)PersistentVolumeStatus is the current status of a persistent volume.voidsetMessage(String message)message is a human-readable message indicating details about why the volume is in this state.voidsetPhase(String phase)phase indicates if a volume is available, bound to a claim, or released by a claim.voidsetReason(String reason)reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.PersistentVolumeStatusBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PersistentVolumeStatusBuilder>
-
toBuilder
public PersistentVolumeStatusBuilder toBuilder()
-
-