@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the elastic network interface for tasks that use the awsvpc network mode.
| Constructor and Description |
|---|
NetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The attachment ID for the network interface.
|
String |
getIpv6Address()
The private IPv6 address for the network interface.
|
String |
getPrivateIpv4Address()
The private IPv4 address for the network interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttachmentId(String attachmentId)
The attachment ID for the network interface.
|
void |
setIpv6Address(String ipv6Address)
The private IPv6 address for the network interface.
|
void |
setPrivateIpv4Address(String privateIpv4Address)
The private IPv4 address for the network interface.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withAttachmentId(String attachmentId)
The attachment ID for the network interface.
|
NetworkInterface |
withIpv6Address(String ipv6Address)
The private IPv6 address for the network interface.
|
NetworkInterface |
withPrivateIpv4Address(String privateIpv4Address)
The private IPv4 address for the network interface.
|
public void setAttachmentId(String attachmentId)
The attachment ID for the network interface.
attachmentId - The attachment ID for the network interface.public String getAttachmentId()
The attachment ID for the network interface.
public NetworkInterface withAttachmentId(String attachmentId)
The attachment ID for the network interface.
attachmentId - The attachment ID for the network interface.public void setPrivateIpv4Address(String privateIpv4Address)
The private IPv4 address for the network interface.
privateIpv4Address - The private IPv4 address for the network interface.public String getPrivateIpv4Address()
The private IPv4 address for the network interface.
public NetworkInterface withPrivateIpv4Address(String privateIpv4Address)
The private IPv4 address for the network interface.
privateIpv4Address - The private IPv4 address for the network interface.public void setIpv6Address(String ipv6Address)
The private IPv6 address for the network interface.
ipv6Address - The private IPv6 address for the network interface.public String getIpv6Address()
The private IPv6 address for the network interface.
public NetworkInterface withIpv6Address(String ipv6Address)
The private IPv6 address for the network interface.
ipv6Address - The private IPv6 address for the network interface.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.