Class V1CSIVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CSIVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CSIVolumeSource
extends Object
Represents a source location of a volume to mount, managed by an external CSI driver
-
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 CSI driver that handles this volume.fsType to mount.readOnly specifies a read-only configuration for the volume.volumeAttributes stores driver-specific properties that are passed to the CSI driver.int
hashCode()
nodePublishSecretRef
(V1LocalObjectReference nodePublishSecretRef) Set nodePublishSecretRef in a chainable fashion.putvolumeAttributesItem
(String key, String volumeAttributesItem) Set the value for the key for the volumeAttributes map property in a chainable fashion.Set readOnly in a chainable fashion.void
Set the driver property valuevoid
Set the fsType property valuevoid
setNodePublishSecretRef
(V1LocalObjectReference nodePublishSecretRef) Set the nodePublishSecretRef property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setVolumeAttributes
(Map<String, String> volumeAttributes) Set the volumeAttributes property valuetoString()
volumeAttributes
(Map<String, String> volumeAttributes) Set volumeAttributes in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_NODE_PUBLISH_SECRET_REF
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_VOLUME_ATTRIBUTES
- See Also:
-
-
Constructor Details
-
V1CSIVolumeSource
-
-
Method Details
-
getDriver
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.- Returns:
- the driver property value
-
setDriver
Set the driver property value -
driver
Set driver in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
getFsType
fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.- Returns:
- the fsType property value
-
setFsType
Set the fsType property value -
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
getNodePublishSecretRef
- Returns:
- the nodePublishSecretRef property value
-
setNodePublishSecretRef
Set the nodePublishSecretRef property value -
nodePublishSecretRef
Set nodePublishSecretRef in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
getReadOnly
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value -
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
getVolumeAttributes
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.- Returns:
- the volumeAttributes property value
-
setVolumeAttributes
Set the volumeAttributes property value -
volumeAttributes
Set volumeAttributes in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
putvolumeAttributesItem
Set the value for the key for the volumeAttributes map property in a chainable fashion.- Returns:
- The same instance of V1CSIVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-