org.jclouds.virtualbox.domain
Class NetworkAdapter

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

public class NetworkAdapter
extends Object

Represents a network adapter in VirtualBox.

redirectRules are the redirect rules that are applied to the network adapter.


Nested Class Summary
static class NetworkAdapter.Builder
           
 
Constructor Summary
NetworkAdapter(org.virtualbox_4_1.NetworkAttachmentType networkAttachmentType, String macAddress, Set<RedirectRule> redirectRules, String staticIp)
           
 
Method Summary
static NetworkAdapter.Builder builder()
           
 boolean equals(Object o)
           
 String getMacAddress()
           
 org.virtualbox_4_1.NetworkAttachmentType getNetworkAttachmentType()
           
 Set<RedirectRule> getRedirectRules()
           
 String getStaticIp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkAdapter

public NetworkAdapter(org.virtualbox_4_1.NetworkAttachmentType networkAttachmentType,
                      String macAddress,
                      Set<RedirectRule> redirectRules,
                      String staticIp)
Method Detail

builder

public static NetworkAdapter.Builder builder()

getNetworkAttachmentType

public org.virtualbox_4_1.NetworkAttachmentType getNetworkAttachmentType()

getRedirectRules

public Set<RedirectRule> getRedirectRules()

getMacAddress

public String getMacAddress()

getStaticIp

public String getStaticIp()

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.