Package io.fabric8.kubernetes.api.model
Class FlexPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.FlexPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FlexPersistentVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FlexPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<FlexPersistentVolumeSourceBuilder>, KubernetesResource
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlexPersistentVolumeSource()
No args constructor for use in serializationFlexPersistentVolumeSource(String driver, String fsType, Map<String,String> options, Boolean readOnly, SecretReference secretRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexPersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getDriver()
driver is the name of the driver to use for this volume.String
getFsType()
fsType is the Filesystem type to mount.Map<String,String>
getOptions()
options is Optional: this field holds extra command options if any.Boolean
getReadOnly()
readOnly is Optional: defaults to false (read/write).SecretReference
getSecretRef()
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setDriver(String driver)
driver is the name of the driver to use for this volume.void
setFsType(String fsType)
fsType is the Filesystem type to mount.void
setOptions(Map<String,String> options)
options is Optional: this field holds extra command options if any.void
setReadOnly(Boolean readOnly)
readOnly is Optional: defaults to false (read/write).void
setSecretRef(SecretReference secretRef)
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.FlexPersistentVolumeSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getDriver
public String getDriver()
driver is the name of the driver to use for this volume.
-
setDriver
public void setDriver(String driver)
driver is the name of the driver to use for this volume.
-
getFsType
public String getFsType()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
-
setFsType
public void setFsType(String fsType)
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
-
getOptions
public Map<String,String> getOptions()
options is Optional: this field holds extra command options if any.
-
setOptions
public void setOptions(Map<String,String> options)
options is Optional: this field holds extra command options if any.
-
getReadOnly
public Boolean getReadOnly()
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretRef
public SecretReference getSecretRef()
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
edit
public FlexPersistentVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<FlexPersistentVolumeSourceBuilder>
-
toBuilder
public FlexPersistentVolumeSourceBuilder toBuilder()
-
-