@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()
Whether this is the primary network interface.
|
String |
getMacAddress()
The MAC address of the network interface.
|
int |
hashCode() |
Boolean |
isPrimary()
Whether this is the primary network interface.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIps(Collection<String> ips)
Network interface IPs.
|
void |
setIsPrimary(Boolean isPrimary)
Whether this is the primary network interface.
|
void |
setMacAddress(String macAddress)
The MAC address of the network interface.
|
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)
Whether this is the primary network interface.
|
NetworkInterface |
withMacAddress(String macAddress)
The MAC address of the network interface.
|
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)
Whether this is the primary network interface.
isPrimary
- Whether this is the primary network interface.public Boolean getIsPrimary()
Whether this is the primary network interface.
public NetworkInterface withIsPrimary(Boolean isPrimary)
Whether this is the primary network interface.
isPrimary
- Whether this is the primary network interface.public Boolean isPrimary()
Whether this is the primary network interface.
public void setMacAddress(String macAddress)
The MAC address of the network interface.
macAddress
- The MAC address of the network interface.public String getMacAddress()
The MAC address of the network interface.
public NetworkInterface withMacAddress(String macAddress)
The MAC address of the network interface.
macAddress
- The MAC address of the network interface.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.