Class V1FlexVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1FlexVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1FlexVolumeSource
extends Object
FlexVolume represents a generic 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
(V1LocalObjectReference 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
(V1LocalObjectReference 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
-
V1FlexVolumeSource
-
-
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 V1FlexVolumeSource 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 V1FlexVolumeSource 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 V1FlexVolumeSource for chaining.
-
putoptionsItem
Set the value for the key for the options map property in a chainable fashion.- Returns:
- The same instance of V1FlexVolumeSource 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 V1FlexVolumeSource 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 V1FlexVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-