org.jclouds.virtualbox.domain
Class DeviceDetails

java.lang.Object
  extended by org.jclouds.virtualbox.domain.DeviceDetails

public class DeviceDetails
extends Object

Represents a specification for a device attachment.

From the VirtualBox SDK:

port: For an IDE controller, 0 specifies the primary controller and 1 specifies the secondary controller. For a SCSI controller, this must range from 0 to 15; for a SATA controller, from 0 to 29; for an SAS controller, from 0 to 7


Nested Class Summary
static class DeviceDetails.Builder
           
 
Constructor Summary
DeviceDetails(int port, int deviceSlot, org.virtualbox_4_1.DeviceType deviceType)
           
 
Method Summary
static DeviceDetails.Builder builder()
           
 boolean equals(Object o)
           
 int getDeviceSlot()
           
 org.virtualbox_4_1.DeviceType getDeviceType()
           
 int getPort()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceDetails

public DeviceDetails(int port,
                     int deviceSlot,
                     org.virtualbox_4_1.DeviceType deviceType)
Method Detail

getPort

public int getPort()

getDeviceSlot

public int getDeviceSlot()

getDeviceType

public org.virtualbox_4_1.DeviceType getDeviceType()

builder

public static DeviceDetails.Builder builder()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.