org.jclouds.cloudstack.domain
Class NIC

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

public class NIC
extends Object

Class NIC

Author:
Adrian Cole

Nested Class Summary
static class NIC.Builder<T extends NIC.Builder<T>>
           
 
Constructor Summary
protected NIC(String id, URI broadcastURI, String gateway, String IPAddress, boolean isDefault, URI isolationURI, String netmask, String macAddress, String 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
 String 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
 String 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
protected  com.google.common.base.Objects.ToStringHelper string()
           
 NIC.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NIC

@ConstructorProperties(value={"id","broadcasturi","gateway","ipaddress","isdefault","isolationuri","netmask","macaddress","networkid","traffictype","type"})
protected NIC(String id,
                                         @Nullable
                                         URI broadcastURI,
                                         @Nullable
                                         String gateway,
                                         @Nullable
                                         String IPAddress,
                                         boolean isDefault,
                                         @Nullable
                                         URI isolationURI,
                                         @Nullable
                                         String netmask,
                                         @Nullable
                                         String macAddress,
                                         @Nullable
                                         String networkId,
                                         @Nullable
                                         TrafficType trafficType,
                                         @Nullable
                                         GuestIPType guestIPType)
Method Detail

builder

public static NIC.Builder<?> builder()

toBuilder

public NIC.Builder<?> toBuilder()

getId

public String getId()
the ID of the nic


getBroadcastURI

@Nullable
public URI getBroadcastURI()
the broadcast uri of the nic


getGateway

@Nullable
public String getGateway()
the gateway of the nic


getIPAddress

@Nullable
public String getIPAddress()
the ip address of the nic


isDefault

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


getIsolationURI

@Nullable
public URI getIsolationURI()
the isolation uri of the nic


getNetmask

@Nullable
public String getNetmask()
the netmask of the nic


getMacAddress

@Nullable
public String getMacAddress()
the MAC Address of the NIC


getNetworkId

@Nullable
public String getNetworkId()
the ID of the corresponding network


getTrafficType

@Nullable
public TrafficType getTrafficType()
the traffic type of the nic


getGuestIPType

@Nullable
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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.