Package org.cdk8s.plus25.k8s
Class VolumeMount.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.VolumeMount.Jsii$Proxy
-
- All Implemented Interfaces:
VolumeMount,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- VolumeMount
@Stability(Stable) @Internal public static final class VolumeMount.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VolumeMount
An implementation forVolumeMount
-
-
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.plus25.k8s.VolumeMount
VolumeMount.Builder, VolumeMount.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(VolumeMount.Builder builder)Constructor that initializes the object based on literal property values passed by theVolumeMount.Builder.protectedJsii$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()booleanequals(Object o)StringgetMountPath()Path within the container at which the volume should be mounted.StringgetMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around.StringgetName()This must match the Name of a Volume.BooleangetReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified).StringgetSubPath()Path within the volume from which the container's volume should be mounted.StringgetSubPathExpr()Expanded path within the volume from which the container's volume should be mounted.inthashCode()
-
-
-
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(VolumeMount.Builder builder)
Constructor that initializes the object based on literal property values passed by theVolumeMount.Builder.
-
-
Method Detail
-
getMountPath
public final String getMountPath()
Description copied from interface:VolumeMountPath within the container at which the volume should be mounted.Must not contain ':'.
- Specified by:
getMountPathin interfaceVolumeMount
-
getName
public final String getName()
Description copied from interface:VolumeMountThis must match the Name of a Volume.- Specified by:
getNamein interfaceVolumeMount
-
getMountPropagation
public final String getMountPropagation()
Description copied from interface:VolumeMountmountPropagation determines how mounts are propagated from the host to container and the other way around.When not set, MountPropagationNone is used. This field is beta in 1.10.
- Specified by:
getMountPropagationin interfaceVolumeMount
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:VolumeMountMounted read-only if true, read-write otherwise (false or unspecified).Defaults to false.
Default: false.
- Specified by:
getReadOnlyin interfaceVolumeMount
-
getSubPath
public final String getSubPath()
Description copied from interface:VolumeMountPath within the volume from which the container's volume should be mounted.Defaults to "" (volume's root).
Default: volume's root).
- Specified by:
getSubPathin interfaceVolumeMount
-
getSubPathExpr
public final String getSubPathExpr()
Description copied from interface:VolumeMountExpanded 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.
Default: volume's root). SubPathExpr and SubPath are mutually exclusive.
- Specified by:
getSubPathExprin interfaceVolumeMount
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-