@Stability(value=Stable) @Internal 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.
|
protected |
Jsii$Proxy(String path,
Volume volume,
MountPropagation propagation,
Boolean readOnly,
String subPath,
String subPathExpr)
Constructor that initializes the object based on literal property values passed by the
VolumeMount.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getPath()
Path within the container at which the volume should be mounted.
|
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.
|
Volume |
getVolume()
The volume to mount.
|
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(String path, Volume volume, MountPropagation propagation, Boolean readOnly, String subPath, String subPathExpr)
VolumeMount.Builder.public final String getPath()
VolumeMountMust not contain ':'.
getPath in interface VolumeMountpublic final Volume getVolume()
VolumeMountgetVolume in interface VolumeMountpublic 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.