Package io.fabric8.kubernetes.api.model
Class AttachedVolume
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.AttachedVolume
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AttachedVolumeBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AttachedVolume extends Object implements io.fabric8.kubernetes.api.builder.Editable<AttachedVolumeBuilder>, KubernetesResource
AttachedVolume describes a volume attached to a node- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachedVolume()No args constructor for use in serializationAttachedVolume(String devicePath, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachedVolumeBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDevicePath()DevicePath represents the device path where the volume should be availableStringgetName()Name of the attached volumevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDevicePath(String devicePath)DevicePath represents the device path where the volume should be availablevoidsetName(String name)Name of the attached volumeAttachedVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getDevicePath
public String getDevicePath()
DevicePath represents the device path where the volume should be available
-
setDevicePath
public void setDevicePath(String devicePath)
DevicePath represents the device path where the volume should be available
-
getName
public String getName()
Name of the attached volume
-
setName
public void setName(String name)
Name of the attached volume
-
edit
public AttachedVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AttachedVolumeBuilder>
-
toBuilder
public AttachedVolumeBuilder toBuilder()
-
-