@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
Describes a gateway's network interface.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkInterface.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterface.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipv4Address()
The Internet Protocol version 4 (IPv4) address of the interface.
|
String |
ipv6Address()
The Internet Protocol version 6 (IPv6) address of the interface.
|
String |
macAddress()
The Media Access Control (MAC) address of the 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 String ipv4Address()
The Internet Protocol version 4 (IPv4) address of the interface.
public String macAddress()
The Media Access Control (MAC) address of the interface.
This is currently unsupported and will not be returned in output.
This is currently unsupported and will not be returned in output.
public String ipv6Address()
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
public NetworkInterface.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>public static NetworkInterface.Builder builder()
public static Class<? extends NetworkInterface.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.