@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipv6Address()
The private IPv6 address for the network interface.
|
String |
privateIpv4Address()
The private IPv4 address for the network interface.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
NetworkInterface.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attachmentId()
The attachment ID for the network interface.
public final String privateIpv4Address()
The private IPv4 address for the network interface.
public final String ipv6Address()
The private IPv6 address for the network interface.
public NetworkInterface.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>public static NetworkInterface.Builder builder()
public static Class<? extends NetworkInterface.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.