@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalIpDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the local IP address of the connection.
| Constructor and Description |
|---|
LocalIpDetails() |
| Modifier and Type | Method and Description |
|---|---|
LocalIpDetails |
clone() |
boolean |
equals(Object obj) |
String |
getIpAddressV4()
The IPv4 local address of the connection.
|
String |
getIpAddressV6()
The IPv6 local address of the connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIpAddressV4(String ipAddressV4)
The IPv4 local address of the connection.
|
void |
setIpAddressV6(String ipAddressV6)
The IPv6 local address of the connection.
|
String |
toString()
Returns a string representation of this object.
|
LocalIpDetails |
withIpAddressV4(String ipAddressV4)
The IPv4 local address of the connection.
|
LocalIpDetails |
withIpAddressV6(String ipAddressV6)
The IPv6 local address of the connection.
|
public void setIpAddressV4(String ipAddressV4)
The IPv4 local address of the connection.
ipAddressV4 - The IPv4 local address of the connection.public String getIpAddressV4()
The IPv4 local address of the connection.
public LocalIpDetails withIpAddressV4(String ipAddressV4)
The IPv4 local address of the connection.
ipAddressV4 - The IPv4 local address of the connection.public void setIpAddressV6(String ipAddressV6)
The IPv6 local address of the connection.
ipAddressV6 - The IPv6 local address of the connection.public String getIpAddressV6()
The IPv6 local address of the connection.
public LocalIpDetails withIpAddressV6(String ipAddressV6)
The IPv6 local address of the connection.
ipAddressV6 - The IPv6 local address of the connection.public String toString()
toString in class ObjectObject.toString()public LocalIpDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.