Class MountOptions.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class MountOptions.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements MountOptions
    An implementation for MountOptions
    • 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

      • getPropagation

        public final MountPropagation getPropagation()
        Description copied from interface: MountOptions
        Determines how mounts are propagated from the host to container and the other way around.

        When not set, MountPropagationNone is used.

        Mount propagation allows for sharing volumes mounted by a Container to other Containers in the same Pod, or even to other Pods on the same node.

        This field is beta in 1.10.

        Default: MountPropagation.NONE

        Specified by:
        getPropagation in interface MountOptions
      • getReadOnly

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

        Defaults to false.

        Default: false

        Specified by:
        getReadOnly in interface MountOptions
      • getSubPath

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

        Default: "" the volume's root

        Specified by:
        getSubPath in interface MountOptions
      • getSubPathExpr

        public final String getSubPathExpr()
        Description copied from interface: MountOptions
        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. This field is beta in 1.15.

        subPathExpr and subPath are mutually exclusive. This field is beta in 1.15.

        Default: "" volume's root.

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