@Generated(value="software.amazon.awssdk:codegen") public class NetworkInterface extends Object implements StructuredPojo, 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) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 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()
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.