@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
Network interface.
| Constructor and Description |
|---|
NetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIps()
Network interface IPs.
|
Boolean |
getIsPrimary()
Network interface primary IP.
|
String |
getMacAddress()
Network interface Mac address.
|
int |
hashCode() |
Boolean |
isPrimary()
Network interface primary IP.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIps(Collection<String> ips)
Network interface IPs.
|
void |
setIsPrimary(Boolean isPrimary)
Network interface primary IP.
|
void |
setMacAddress(String macAddress)
Network interface Mac address.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withIps(Collection<String> ips)
Network interface IPs.
|
NetworkInterface |
withIps(String... ips)
Network interface IPs.
|
NetworkInterface |
withIsPrimary(Boolean isPrimary)
Network interface primary IP.
|
NetworkInterface |
withMacAddress(String macAddress)
Network interface Mac address.
|
public void setIps(Collection<String> ips)
Network interface IPs.
ips - Network interface IPs.public NetworkInterface withIps(String... ips)
Network interface IPs.
NOTE: This method appends the values to the existing list (if any). Use
setIps(java.util.Collection) or withIps(java.util.Collection) if you want to override the
existing values.
ips - Network interface IPs.public NetworkInterface withIps(Collection<String> ips)
Network interface IPs.
ips - Network interface IPs.public void setIsPrimary(Boolean isPrimary)
Network interface primary IP.
isPrimary - Network interface primary IP.public Boolean getIsPrimary()
Network interface primary IP.
public NetworkInterface withIsPrimary(Boolean isPrimary)
Network interface primary IP.
isPrimary - Network interface primary IP.public Boolean isPrimary()
Network interface primary IP.
public void setMacAddress(String macAddress)
Network interface Mac address.
macAddress - Network interface Mac address.public String getMacAddress()
Network interface Mac address.
public NetworkInterface withMacAddress(String macAddress)
Network interface Mac address.
macAddress - Network interface Mac address.public String toString()
toString in class ObjectObject.toString()public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.