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 class
Device.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDriveUuid()
abstract String
getId()
id generated based on the device bus, unit, and/or index numbers;MediaType
getMediaType()
int
hashCode()
String
toString()
-
-
-
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.
-
-