org.jclouds.cloudstack.domain
Class NIC

java.lang.Object
  extended by org.jclouds.cloudstack.domain.NIC

public class NIC
extends Object

Author:
Adrian Cole

Nested Class Summary
static class NIC.Builder
           
 
Constructor Summary
NIC(long id, URI broadcastURI, String gateway, String iPAddress, boolean isDefault, URI isolationURI, String netmask, String macAddress, long networkId, TrafficType trafficType, GuestIPType guestIPType)
           
 
Method Summary
static NIC.Builder builder()
           
 boolean equals(Object obj)
           
 URI getBroadcastURI()
          the broadcast uri of the nic
 String getGateway()
          the gateway of the nic
 GuestIPType getGuestIPType()
          the type of the nic
 long getId()
          the ID of the nic
 String getIPAddress()
          the ip address of the nic
 URI getIsolationURI()
          the isolation uri of the nic
 String getMacAddress()
          the MAC Address of the NIC
 String getNetmask()
          the netmask of the nic
 long getNetworkId()
          the ID of the corresponding network
 TrafficType getTrafficType()
          the traffic type of the nic
 int hashCode()
           
 boolean isDefault()
          true if nic is default, false otherwise
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NIC

public NIC(long id,
           URI broadcastURI,
           String gateway,
           String iPAddress,
           boolean isDefault,
           URI isolationURI,
           String netmask,
           String macAddress,
           long networkId,
           TrafficType trafficType,
           GuestIPType guestIPType)
Method Detail

builder

public static NIC.Builder builder()

getId

public long getId()
the ID of the nic


getBroadcastURI

public URI getBroadcastURI()
the broadcast uri of the nic


getGateway

public String getGateway()
the gateway of the nic


getIPAddress

public String getIPAddress()
the ip address of the nic


isDefault

public boolean isDefault()
true if nic is default, false otherwise


getIsolationURI

public URI getIsolationURI()
the isolation uri of the nic


getNetmask

public String getNetmask()
the netmask of the nic


getMacAddress

public String getMacAddress()
the MAC Address of the NIC


getNetworkId

public long getNetworkId()
the ID of the corresponding network


getTrafficType

public TrafficType getTrafficType()
the traffic type of the nic


getGuestIPType

public GuestIPType getGuestIPType()
the type of the nic


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


Copyright © 2009-2012 jclouds. All Rights Reserved.