Class Device

java.lang.Object
org.jclouds.elasticstack.domain.Device
Direct Known Subclasses:
BlockDevice, IDEDevice, SCSIDevice

public abstract class Device extends Object
  • Field Details

    • driveUuid

      protected final String driveUuid
    • mediaType

      protected final MediaType mediaType
  • Constructor Details

  • Method Details

    • 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.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object