Package org.cdk8s.plus24
Class MountOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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 forMountOptions
-
-
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.MountOptions
MountOptions.Builder, MountOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(MountOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theMountOptions.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)
MountPropagation
getPropagation()
Determines how mounts are propagated from the host to container and the other way around.Boolean
getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).String
getSubPath()
Path within the volume from which the container's volume should be mounted.).String
getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted.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(MountOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theMountOptions.Builder
.
-
-
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.
Default: MountPropagation.NONE
- Specified by:
getPropagation
in interfaceMountOptions
-
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 interfaceMountOptions
-
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 interfaceMountOptions
-
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
andsubPath
are mutually exclusive.Default: "" volume's root.
- Specified by:
getSubPathExpr
in interfaceMountOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-