Package org.cdk8s.plus24
Interface VolumeMount
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,MountOptions
- All Known Implementing Classes:
VolumeMount.Jsii$Proxy
@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-01T02:39:47.970Z") @Stability(Stable) public interface VolumeMount extends software.amazon.jsii.JsiiSerializable, MountOptions
Mount a volume from the pod to the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VolumeMount.Builder
A builder forVolumeMount
static class
VolumeMount.Jsii$Proxy
An implementation forVolumeMount
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VolumeMount.Builder
builder()
String
getPath()
Path within the container at which the volume should be mounted.Volume
getVolume()
The volume to mount.-
Methods inherited from interface org.cdk8s.plus24.MountOptions
getPropagation, getReadOnly, getSubPath, getSubPathExpr
-
-
-
-
Method Detail
-
getPath
@Stability(Stable) @NotNull String getPath()
Path within the container at which the volume should be mounted.Must not contain ':'.
-
getVolume
@Stability(Stable) @NotNull Volume getVolume()
The volume to mount.
-
builder
@Stability(Stable) static VolumeMount.Builder builder()
- Returns:
- a
VolumeMount.Builder
ofVolumeMount
-
-