Package io.fabric8.kubernetes.api.model
Class VolumeDevice
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.VolumeDevice
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VolumeDeviceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VolumeDevice extends Object implements io.fabric8.kubernetes.api.builder.Editable<VolumeDeviceBuilder>, KubernetesResource
volumeDevice describes a mapping of a raw block device within a container.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeDevice()
No args constructor for use in serializationVolumeDevice(String devicePath, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeDeviceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
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 podvoid
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setDevicePath(String devicePath)
devicePath is the path inside of the container that the device will be mapped to.void
setName(String name)
name must match the name of a persistentVolumeClaim in the podVolumeDeviceBuilder
toBuilder()
-
-
-
Method Detail
-
getDevicePath
public String getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
-
setDevicePath
public void setDevicePath(String devicePath)
devicePath is the path inside of the container that the device will be mapped to.
-
getName
public String getName()
name must match the name of a persistentVolumeClaim in the pod
-
setName
public void setName(String name)
name must match the name of a persistentVolumeClaim in the pod
-
edit
public VolumeDeviceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeDeviceBuilder>
-
toBuilder
public VolumeDeviceBuilder toBuilder()
-
-