@Stability(value=Stable) @Internal public static final class MountOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MountOptions
MountOptionssoftware.amazon.jsii.JsiiObject.InitializationModeMountOptions.Builder, MountOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(MountPropagation propagation,
Boolean readOnly,
String subPath,
String subPathExpr)
Constructor that initializes the object based on literal property values passed by the
MountOptions.Builder. |
| Modifier and Type | Method and 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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(MountPropagation propagation, Boolean readOnly, String subPath, String subPathExpr)
MountOptions.Builder.public final MountPropagation getPropagation()
MountOptionsWhen 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
getPropagation in interface MountOptionspublic final Boolean getReadOnly()
MountOptionsDefaults to false.
Default: false
getReadOnly in interface MountOptionspublic final String getSubPath()
MountOptionsDefault: "" the volume's root
getSubPath in interface MountOptionspublic final String getSubPathExpr()
MountOptionsBehaves 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.
getSubPathExpr in interface MountOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.