Package org.cdk8s.plus25.k8s
Interface VolumeDevice
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VolumeDevice.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.850Z") @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 classVolumeDevice.BuilderA builder forVolumeDevicestatic classVolumeDevice.Jsii$ProxyAn implementation forVolumeDevice
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VolumeDevice.Builderbuilder()StringgetDevicePath()devicePath is the path inside of the container that the device will be mapped to.StringgetName()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.BuilderofVolumeDevice
-
-