Class V1CSIPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CSIPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CSIPersistentVolumeSource
extends Object
Represents storage that is managed by an external CSI volume driver (Beta feature)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontrollerExpandSecretRef
(V1SecretReference controllerExpandSecretRef) Set controllerExpandSecretRef in a chainable fashion.controllerPublishSecretRef
(V1SecretReference controllerPublishSecretRef) Set controllerPublishSecretRef in a chainable fashion.Set 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 to mount.readOnly value to pass to ControllerPublishVolumeRequest.volumeAttributes of the volume to publish.volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.int
hashCode()
nodeExpandSecretRef
(V1SecretReference nodeExpandSecretRef) Set nodeExpandSecretRef in a chainable fashion.nodePublishSecretRef
(V1SecretReference nodePublishSecretRef) Set nodePublishSecretRef in a chainable fashion.nodeStageSecretRef
(V1SecretReference nodeStageSecretRef) Set nodeStageSecretRef 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
setControllerExpandSecretRef
(V1SecretReference controllerExpandSecretRef) Set the controllerExpandSecretRef property valuevoid
setControllerPublishSecretRef
(V1SecretReference controllerPublishSecretRef) Set the controllerPublishSecretRef property valuevoid
Set the driver property valuevoid
Set the fsType property valuevoid
setNodeExpandSecretRef
(V1SecretReference nodeExpandSecretRef) Set the nodeExpandSecretRef property valuevoid
setNodePublishSecretRef
(V1SecretReference nodePublishSecretRef) Set the nodePublishSecretRef property valuevoid
setNodeStageSecretRef
(V1SecretReference nodeStageSecretRef) Set the nodeStageSecretRef property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setVolumeAttributes
(Map<String, String> volumeAttributes) Set the volumeAttributes property valuevoid
setVolumeHandle
(String volumeHandle) Set the volumeHandle property valuetoString()
volumeAttributes
(Map<String, String> volumeAttributes) Set volumeAttributes in a chainable fashion.volumeHandle
(String volumeHandle) Set volumeHandle in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_CONTROLLER_EXPAND_SECRET_REF
- See Also:
-
JSON_PROPERTY_CONTROLLER_PUBLISH_SECRET_REF
- See Also:
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_NODE_EXPAND_SECRET_REF
- See Also:
-
JSON_PROPERTY_NODE_PUBLISH_SECRET_REF
- See Also:
-
JSON_PROPERTY_NODE_STAGE_SECRET_REF
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_VOLUME_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_VOLUME_HANDLE
- See Also:
-
-
Constructor Details
-
V1CSIPersistentVolumeSource
-
-
Method Details
-
getControllerExpandSecretRef
- Returns:
- the controllerExpandSecretRef property value
-
setControllerExpandSecretRef
Set the controllerExpandSecretRef property value -
controllerExpandSecretRef
public V1CSIPersistentVolumeSource controllerExpandSecretRef(V1SecretReference controllerExpandSecretRef) Set controllerExpandSecretRef in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getControllerPublishSecretRef
- Returns:
- the controllerPublishSecretRef property value
-
setControllerPublishSecretRef
Set the controllerPublishSecretRef property value -
controllerPublishSecretRef
public V1CSIPersistentVolumeSource controllerPublishSecretRef(V1SecretReference controllerPublishSecretRef) Set controllerPublishSecretRef in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getDriver
driver is the name of the driver to use for this volume. Required.- Returns:
- the driver property value
-
setDriver
Set the driver property value -
driver
Set driver in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getFsType
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".- Returns:
- the fsType property value
-
setFsType
Set the fsType property value -
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getNodeExpandSecretRef
- Returns:
- the nodeExpandSecretRef property value
-
setNodeExpandSecretRef
Set the nodeExpandSecretRef property value -
nodeExpandSecretRef
Set nodeExpandSecretRef in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource 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 V1CSIPersistentVolumeSource for chaining.
-
getNodeStageSecretRef
- Returns:
- the nodeStageSecretRef property value
-
setNodeStageSecretRef
Set the nodeStageSecretRef property value -
nodeStageSecretRef
Set nodeStageSecretRef in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getReadOnly
readOnly value to pass to ControllerPublishVolumeRequest. 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 V1CSIPersistentVolumeSource for chaining.
-
getVolumeAttributes
volumeAttributes of the volume to publish.- Returns:
- the volumeAttributes property value
-
setVolumeAttributes
Set the volumeAttributes property value -
volumeAttributes
Set volumeAttributes in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
putvolumeAttributesItem
Set the value for the key for the volumeAttributes map property in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
getVolumeHandle
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.- Returns:
- the volumeHandle property value
-
setVolumeHandle
Set the volumeHandle property value -
volumeHandle
Set volumeHandle in a chainable fashion.- Returns:
- The same instance of V1CSIPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-