Class VolumeMount.Jsii$Proxy

  • All Implemented Interfaces:
    VolumeMount, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    VolumeMount

    @Stability(Stable)
    @Internal
    public static final class VolumeMount.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements VolumeMount
    An implementation for VolumeMount
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(VolumeMount.Builder builder)
      Constructor that initializes the object based on literal property values passed by the VolumeMount.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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

      • getMountPath

        public final String getMountPath()
        Description copied from interface: VolumeMount
        Path within the container at which the volume should be mounted.

        Must not contain ':'.

        Specified by:
        getMountPath in interface VolumeMount
      • getName

        public final String getName()
        Description copied from interface: VolumeMount
        This must match the Name of a Volume.
        Specified by:
        getName in interface VolumeMount
      • getMountPropagation

        public final String getMountPropagation()
        Description copied from interface: VolumeMount
        mountPropagation determines how mounts are propagated from the host to container and the other way around.

        When not set, MountPropagationNone is used. This field is beta in 1.10.

        Specified by:
        getMountPropagation in interface VolumeMount
      • getReadOnly

        public final Boolean getReadOnly()
        Description copied from interface: VolumeMount
        Mounted read-only if true, read-write otherwise (false or unspecified).

        Defaults to false.

        Default: false.

        Specified by:
        getReadOnly in interface VolumeMount
      • getSubPath

        public final String getSubPath()
        Description copied from interface: VolumeMount
        Path within the volume from which the container's volume should be mounted.

        Defaults to "" (volume's root).

        Default: volume's root).

        Specified by:
        getSubPath in interface VolumeMount
      • getSubPathExpr

        public final String getSubPathExpr()
        Description copied from interface: VolumeMount
        Expanded path within the volume from which the container's volume should be mounted.

        Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

        Default: volume's root). SubPathExpr and SubPath are mutually exclusive.

        Specified by:
        getSubPathExpr in interface VolumeMount
      • $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