Package org.cdk8s.plus24.k8s
Class CsiVolumeSource.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CsiVolumeSource.Jsii$Proxy
-
- All Implemented Interfaces:
CsiVolumeSource
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CsiVolumeSource
@Stability(Stable) @Internal public static final class CsiVolumeSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CsiVolumeSource
An implementation forCsiVolumeSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.CsiVolumeSource
CsiVolumeSource.Builder, CsiVolumeSource.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CsiVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theCsiVolumeSource.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
String
getDriver()
driver is the name of the CSI driver that handles this volume.String
getFsType()
fsType to mount.LocalObjectReference
getNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.Boolean
getReadOnly()
readOnly specifies a read-only configuration for the volume.Map<String,String>
getVolumeAttributes()
volumeAttributes stores driver-specific properties that are passed to the CSI driver.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CsiVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theCsiVolumeSource.Builder
.
-
-
Method Detail
-
getDriver
public final String getDriver()
Description copied from interface:CsiVolumeSource
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.
- Specified by:
getDriver
in interfaceCsiVolumeSource
-
getFsType
public final String getFsType()
Description copied from interface:CsiVolumeSource
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.
- Specified by:
getFsType
in interfaceCsiVolumeSource
-
getNodePublishSecretRef
public final LocalObjectReference getNodePublishSecretRef()
Description copied from interface:CsiVolumeSource
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- Specified by:
getNodePublishSecretRef
in interfaceCsiVolumeSource
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:CsiVolumeSource
readOnly specifies a read-only configuration for the volume.Defaults to false (read/write).
Default: false (read/write).
- Specified by:
getReadOnly
in interfaceCsiVolumeSource
-
getVolumeAttributes
public final Map<String,String> getVolumeAttributes()
Description copied from interface:CsiVolumeSource
volumeAttributes stores driver-specific properties that are passed to the CSI driver.Consult your driver's documentation for supported values.
- Specified by:
getVolumeAttributes
in interfaceCsiVolumeSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-