@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements StructuredPojo, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
An object representing the Elastic Network Interface for tasks that use the awsvpc
network mode.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkInterface.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attachmentId()
The attachment ID for the network interface.
|
static NetworkInterface.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipv6Address()
The private IPv6 address for the network interface.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
privateIpv4Address()
The private IPv4 address for the network interface.
|
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
NetworkInterface.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String attachmentId()
The attachment ID for the network interface.
public String privateIpv4Address()
The private IPv4 address for the network interface.
public String ipv6Address()
The private IPv6 address for the network interface.
public NetworkInterface.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
public static NetworkInterface.Builder builder()
public static Class<? extends NetworkInterface.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.