Class V1FlexPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1FlexPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1FlexPersistentVolumeSource
extends Object
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet driver in a chainable fashion.boolean
Set fsType in a chainable fashion.driver is the name of the driver to use for this volume.fsType is the Filesystem type to mount.options is Optional: this field holds extra command options if any.readOnly is Optional: defaults to false (read/write).int
hashCode()
Set options in a chainable fashion.putoptionsItem
(String key, String optionsItem) Set the value for the key for the options map property in a chainable fashion.Set readOnly in a chainable fashion.secretRef
(V1SecretReference secretRef) Set secretRef in a chainable fashion.void
Set the driver property valuevoid
Set the fsType property valuevoid
setOptions
(Map<String, @NotNull String> options) Set the options property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1SecretReference secretRef) Set the secretRef property valuetoString()
-
Field Details
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
-
Constructor Details
-
V1FlexPersistentVolumeSource
-
-
Method Details
-
getDriver
driver is the name of the driver to use for this volume.- Returns:
- the driver property value
-
setDriver
Set the driver property value- Parameters:
driver
- property value to set
-
driver
Set driver in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
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.- Returns:
- the fsType property value
-
setFsType
Set the fsType property value- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
getOptions
options is Optional: this field holds extra command options if any.- Returns:
- the options property value
-
setOptions
Set the options property value- Parameters:
options
- property value to set
-
options
Set options in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
putoptionsItem
Set the value for the key for the options map property in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
getReadOnly
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value- Parameters:
secretRef
- property value to set
-
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1FlexPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-