@Stability(value=Experimental) public static final class VolumeMount.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VolumeMount
VolumeMountsoftware.amazon.jsii.JsiiObject.InitializationModeVolumeMount.Builder, VolumeMount.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.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getPath()
(experimental) Path within the container at which the volume should be mounted.
|
MountPropagation |
getPropagation()
(experimental) Determines how mounts are propagated from the host to container and the other way around.
|
Boolean |
getReadOnly()
(experimental) Mounted read-only if true, read-write otherwise (false or unspecified).
|
String |
getSubPath()
(experimental) Path within the volume from which the container's volume should be mounted.).
|
String |
getSubPathExpr()
(experimental) Expanded path within the volume from which the container's volume should be mounted.
|
Volume |
getVolume()
(experimental) The volume to mount.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getPath()
VolumeMountMust not contain ':'.
getPath in interface VolumeMountpublic Volume getVolume()
VolumeMountgetVolume in interface VolumeMountpublic 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 Boolean getReadOnly()
MountOptionsDefaults to false.
Default: false
getReadOnly in interface MountOptionspublic String getSubPath()
MountOptionsDefault: "" the volume's root
getSubPath in interface MountOptionspublic 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 MountOptionspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.