@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoteIpDetails extends Object implements Serializable, Cloneable, StructuredPojo
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; useful for testing and debugging.
|
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
- City information of the remote IP address.public City getCity()
public RemoteIpDetails withCity(City city)
city
- City information of the remote IP address.public void setCountry(Country country)
country
- Country code of the remote IP address.public Country getCountry()
public RemoteIpDetails withCountry(Country country)
country
- Country code of the remote IP address.public void setGeoLocation(GeoLocation geoLocation)
geoLocation
- Location information of the remote IP address.public GeoLocation getGeoLocation()
public RemoteIpDetails withGeoLocation(GeoLocation geoLocation)
geoLocation
- Location information of the remote IP address.public void setIpAddressV4(String ipAddressV4)
ipAddressV4
- IPV4 remote address of the connection.public String getIpAddressV4()
public RemoteIpDetails withIpAddressV4(String ipAddressV4)
ipAddressV4
- IPV4 remote address of the connection.public void setOrganization(Organization organization)
organization
- ISP Organization information of the remote IP address.public Organization getOrganization()
public RemoteIpDetails withOrganization(Organization organization)
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.