Package org.jclouds.cloudstack.domain
Class NIC
- java.lang.Object
-
- org.jclouds.cloudstack.domain.NIC
-
public class NIC extends Object
Class NIC
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NIC.Builder<T extends NIC.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NIC.Builder<?>
builder()
boolean
equals(Object obj)
URI
getBroadcastURI()
the broadcast uri of the nicString
getGateway()
the gateway of the nicGuestIPType
getGuestIPType()
the type of the nicString
getId()
the ID of the nicString
getIPAddress()
the ip address of the nicURI
getIsolationURI()
the isolation uri of the nicString
getMacAddress()
the MAC Address of the NICString
getNetmask()
the netmask of the nicString
getNetworkId()
the ID of the corresponding networkTrafficType
getTrafficType()
the traffic type of the nicint
hashCode()
boolean
isDefault()
true if nic is default, false otherwiseprotected com.google.common.base.MoreObjects.ToStringHelper
string()
NIC.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
NIC
@ConstructorProperties({"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
-
isDefault
public boolean isDefault()
true if nic is default, false otherwise
-
getTrafficType
@Nullable public TrafficType getTrafficType()
the traffic type of the nic
-
getGuestIPType
@Nullable public GuestIPType getGuestIPType()
the type of the nic
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-