Package org.cdk8s.plus22
Class MountOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.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.plus22.MountOptions
MountOptions.Builder, MountOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MountOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theMountOptions.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)MountPropagationgetPropagation()Determines how mounts are propagated from the host to container and the other way around.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(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:MountOptionsDetermines 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.
This field is beta in 1.10.
Default: MountPropagation.NONE
- Specified by:
getPropagationin interfaceMountOptions
-
getReadOnly
public final Boolean getReadOnly()
Description copied from interface:MountOptionsMounted read-only if true, read-write otherwise (false or unspecified).Defaults to false.
Default: false
- Specified by:
getReadOnlyin interfaceMountOptions
-
getSubPath
public final String getSubPath()
Description copied from interface:MountOptionsPath within the volume from which the container's volume should be mounted.).Default: "" the volume's root
- Specified by:
getSubPathin interfaceMountOptions
-
getSubPathExpr
public final String getSubPathExpr()
Description copied from interface:MountOptionsExpanded 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. This field is beta in 1.15.
subPathExprandsubPathare mutually exclusive. This field is beta in 1.15.Default: "" volume's root.
- Specified by:
getSubPathExprin interfaceMountOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-