Package org.cdk8s.plus20
Interface VolumeMount
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,MountOptions
- All Known Implementing Classes:
VolumeMount.Jsii$Proxy
@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-26T09:02:10.569Z") @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 classVolumeMount.BuilderA builder forVolumeMountstatic classVolumeMount.Jsii$ProxyAn implementation forVolumeMount
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VolumeMount.Builderbuilder()StringgetPath()Path within the container at which the volume should be mounted.VolumegetVolume()The volume to mount.-
Methods inherited from interface org.cdk8s.plus20.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.BuilderofVolumeMount
-
-