Package org.cdk8s.plus24.k8s
Interface VolumeDevice
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VolumeDevice.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.360Z") @Stability(Stable) public interface VolumeDevice extends software.amazon.jsii.JsiiSerializable
volumeDevice describes a mapping of a raw block device within a container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VolumeDevice.Builder
A builder forVolumeDevice
static class
VolumeDevice.Jsii$Proxy
An implementation forVolumeDevice
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VolumeDevice.Builder
builder()
String
getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.String
getName()
name must match the name of a persistentVolumeClaim in the pod.
-
-
-
Method Detail
-
getDevicePath
@Stability(Stable) @NotNull String getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
-
getName
@Stability(Stable) @NotNull String getName()
name must match the name of a persistentVolumeClaim in the pod.
-
builder
@Stability(Stable) static VolumeDevice.Builder builder()
- Returns:
- a
VolumeDevice.Builder
ofVolumeDevice
-
-