@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoteIpDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the remote IP address of the connection.
Constructor and Description |
---|
RemoteIpDetails() |
Modifier and Type | Method and Description |
---|---|
RemoteIpDetails |
clone() |
boolean |
equals(Object obj) |
City |
getCity()
The city information of the remote IP address.
|
Country |
getCountry()
The country code of the remote IP address.
|
GeoLocation |
getGeoLocation()
The location information of the remote IP address.
|
String |
getIpAddressV4()
The IPv4 remote address of the connection.
|
Organization |
getOrganization()
The ISP organization information of the remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCity(City city)
The city information of the remote IP address.
|
void |
setCountry(Country country)
The country code of the remote IP address.
|
void |
setGeoLocation(GeoLocation geoLocation)
The location information of the remote IP address.
|
void |
setIpAddressV4(String ipAddressV4)
The IPv4 remote address of the connection.
|
void |
setOrganization(Organization organization)
The ISP organization information of the remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
RemoteIpDetails |
withCity(City city)
The city information of the remote IP address.
|
RemoteIpDetails |
withCountry(Country country)
The country code of the remote IP address.
|
RemoteIpDetails |
withGeoLocation(GeoLocation geoLocation)
The location information of the remote IP address.
|
RemoteIpDetails |
withIpAddressV4(String ipAddressV4)
The IPv4 remote address of the connection.
|
RemoteIpDetails |
withOrganization(Organization organization)
The ISP organization information of the remote IP address.
|
public void setCity(City city)
The city information of the remote IP address.
city
- The city information of the remote IP address.public City getCity()
The city information of the remote IP address.
public RemoteIpDetails withCity(City city)
The city information of the remote IP address.
city
- The city information of the remote IP address.public void setCountry(Country country)
The country code of the remote IP address.
country
- The country code of the remote IP address.public Country getCountry()
The country code of the remote IP address.
public RemoteIpDetails withCountry(Country country)
The country code of the remote IP address.
country
- The country code of the remote IP address.public void setGeoLocation(GeoLocation geoLocation)
The location information of the remote IP address.
geoLocation
- The location information of the remote IP address.public GeoLocation getGeoLocation()
The location information of the remote IP address.
public RemoteIpDetails withGeoLocation(GeoLocation geoLocation)
The location information of the remote IP address.
geoLocation
- The location information of the remote IP address.public void setIpAddressV4(String ipAddressV4)
The IPv4 remote address of the connection.
ipAddressV4
- The IPv4 remote address of the connection.public String getIpAddressV4()
The IPv4 remote address of the connection.
public RemoteIpDetails withIpAddressV4(String ipAddressV4)
The IPv4 remote address of the connection.
ipAddressV4
- The IPv4 remote address of the connection.public void setOrganization(Organization organization)
The ISP organization information of the remote IP address.
organization
- The ISP organization information of the remote IP address.public Organization getOrganization()
The ISP organization information of the remote IP address.
public RemoteIpDetails withOrganization(Organization organization)
The ISP organization information of the remote IP address.
organization
- The ISP organization information of the remote IP address.public String toString()
toString
in class Object
Object.toString()
public RemoteIpDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.