org.jclouds.elasticstack.domain
Class BlockDevice

java.lang.Object
  extended by org.jclouds.elasticstack.domain.Device
      extended by org.jclouds.elasticstack.domain.BlockDevice

public class BlockDevice
extends Device

Author:
Adrian Cole

Nested Class Summary
static class BlockDevice.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.elasticstack.domain.Device
driveUuid, mediaType
 
Constructor Summary
BlockDevice(String driveUuid, MediaType mediaType, int index)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          id generated based on the device bus, unit, and/or index numbers;
 int getIndex()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.elasticstack.domain.Device
getDriveUuid, getMediaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockDevice

public BlockDevice(String driveUuid,
                   MediaType mediaType,
                   int index)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Device

equals

public boolean equals(Object obj)
Overrides:
equals in class Device

getId

public String getId()
Description copied from class: Device
id generated based on the device bus, unit, and/or index numbers;

Specified by:
getId in class Device

getIndex

public int getIndex()

toString

public String toString()
Overrides:
toString in class Device


Copyright © 2009-2011 jclouds. All Rights Reserved.