@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
Describes a gateway's network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getIpv4Address()
The Internet Protocol version 4 (IPv4) address of the interface.
|
String |
getIpv6Address()
The Internet Protocol version 6 (IPv6) address of the interface.
|
String |
getMacAddress()
The Media Access Control (MAC) address of the interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.
|
void |
setIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface.
|
void |
setMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NetworkInterface |
withIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.
|
NetworkInterface |
withIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface.
|
NetworkInterface |
withMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface.
|
public void setIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.
ipv4Address
- The Internet Protocol version 4 (IPv4) address of the interface.public String getIpv4Address()
The Internet Protocol version 4 (IPv4) address of the interface.
public NetworkInterface withIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.
ipv4Address
- The Internet Protocol version 4 (IPv4) address of the interface.public void setMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface.
This is currently unsupported and will not be returned in output.
macAddress
- The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.
public String getMacAddress()
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 NetworkInterface withMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface.
This is currently unsupported and will not be returned in output.
macAddress
- The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.
public void setIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
ipv6Address
- The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.public String getIpv6Address()
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
public NetworkInterface withIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
ipv6Address
- The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.