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 classNIC.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()booleanequals(Object obj)URIgetBroadcastURI()the broadcast uri of the nicStringgetGateway()the gateway of the nicGuestIPTypegetGuestIPType()the type of the nicStringgetId()the ID of the nicStringgetIPAddress()the ip address of the nicURIgetIsolationURI()the isolation uri of the nicStringgetMacAddress()the MAC Address of the NICStringgetNetmask()the netmask of the nicStringgetNetworkId()the ID of the corresponding networkTrafficTypegetTrafficType()the traffic type of the nicinthashCode()booleanisDefault()true if nic is default, false otherwiseprotected com.google.common.base.MoreObjects.ToStringHelperstring()NIC.Builder<?>toBuilder()StringtoString()
-
-
-
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()
-
-