Class VolumeDevice.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.VolumeDevice.Builder
-
- Enclosing class:
- VolumeDevice
public static class VolumeDevice.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeDevice
build()
VolumeDevice.Builder
devicePath(@NonNull java.lang.String devicePath)
devicePath is the path inside of the container that the device will be mapped to.VolumeDevice.Builder
name(@NonNull java.lang.String name)
name must match the name of a persistentVolumeClaim in the podjava.lang.String
toString()
-
-
-
Method Detail
-
devicePath
public VolumeDevice.Builder devicePath(@NonNull @NonNull java.lang.String devicePath)
devicePath is the path inside of the container that the device will be mapped to.- Returns:
this
.
-
name
public VolumeDevice.Builder name(@NonNull @NonNull java.lang.String name)
name must match the name of a persistentVolumeClaim in the pod- Returns:
this
.
-
build
public VolumeDevice build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-