@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoteIpDetails extends Object implements Serializable, Cloneable, StructuredPojo
Continas 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()
City information of the remote IP address.
|
Country |
getCountry()
Country code of the remote IP address.
|
GeoLocation |
getGeoLocation()
Location information of the remote IP address.
|
String |
getIpAddressV4()
IPV4 remote address of the connection.
|
Organization |
getOrganization()
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)
City information of the remote IP address.
|
void |
setCountry(Country country)
Country code of the remote IP address.
|
void |
setGeoLocation(GeoLocation geoLocation)
Location information of the remote IP address.
|
void |
setIpAddressV4(String ipAddressV4)
IPV4 remote address of the connection.
|
void |
setOrganization(Organization organization)
ISP Organization information of the remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
RemoteIpDetails |
withCity(City city)
City information of the remote IP address.
|
RemoteIpDetails |
withCountry(Country country)
Country code of the remote IP address.
|
RemoteIpDetails |
withGeoLocation(GeoLocation geoLocation)
Location information of the remote IP address.
|
RemoteIpDetails |
withIpAddressV4(String ipAddressV4)
IPV4 remote address of the connection.
|
RemoteIpDetails |
withOrganization(Organization organization)
ISP Organization information of the remote IP address.
|
public void setCity(City city)
City information of the remote IP address.
city
- City information of the remote IP address.public City getCity()
City information of the remote IP address.
public RemoteIpDetails withCity(City city)
City information of the remote IP address.
city
- City information of the remote IP address.public void setCountry(Country country)
Country code of the remote IP address.
country
- Country code of the remote IP address.public Country getCountry()
Country code of the remote IP address.
public RemoteIpDetails withCountry(Country country)
Country code of the remote IP address.
country
- Country code of the remote IP address.public void setGeoLocation(GeoLocation geoLocation)
Location information of the remote IP address.
geoLocation
- Location information of the remote IP address.public GeoLocation getGeoLocation()
Location information of the remote IP address.
public RemoteIpDetails withGeoLocation(GeoLocation geoLocation)
Location information of the remote IP address.
geoLocation
- Location information of the remote IP address.public void setIpAddressV4(String ipAddressV4)
IPV4 remote address of the connection.
ipAddressV4
- IPV4 remote address of the connection.public String getIpAddressV4()
IPV4 remote address of the connection.
public RemoteIpDetails withIpAddressV4(String ipAddressV4)
IPV4 remote address of the connection.
ipAddressV4
- IPV4 remote address of the connection.public void setOrganization(Organization organization)
ISP Organization information of the remote IP address.
organization
- ISP Organization information of the remote IP address.public Organization getOrganization()
ISP Organization information of the remote IP address.
public RemoteIpDetails withOrganization(Organization organization)
ISP Organization information of the remote IP address.
organization
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.