Package org.jclouds.elasticstack.domain
Class Device
- java.lang.Object
-
- org.jclouds.elasticstack.domain.Device
-
- Direct Known Subclasses:
BlockDevice,IDEDevice,SCSIDevice
public abstract class Device extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevice.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDriveUuid()abstract StringgetId()id generated based on the device bus, unit, and/or index numbers;MediaTypegetMediaType()inthashCode()StringtoString()
-
-
-
Method Detail
-
getId
public abstract String getId()
id generated based on the device bus, unit, and/or index numbers;
-
getDriveUuid
public String getDriveUuid()
- Returns:
- Drive UUID to connect as specified device.
-
getMediaType
public MediaType getMediaType()
- Returns:
- set to 'cdrom' to simulate a cdrom, set to 'disk' or leave unset to simulate a hard disk.
-
-