Class 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 for CsiVolumeSource
    • 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.
    • 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 interface CsiVolumeSource
      • 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 interface CsiVolumeSource
      • 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 interface CsiVolumeSource
      • 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 interface CsiVolumeSource
      • 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 interface CsiVolumeSource
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object