@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoLocation extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the location of the remote IP address.
Constructor and Description |
---|
GeoLocation() |
Modifier and Type | Method and Description |
---|---|
GeoLocation |
clone() |
boolean |
equals(Object obj) |
Double |
getLat()
The latitude information of the remote IP address.
|
Double |
getLon()
The longitude information of the remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLat(Double lat)
The latitude information of the remote IP address.
|
void |
setLon(Double lon)
The longitude information of the remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
GeoLocation |
withLat(Double lat)
The latitude information of the remote IP address.
|
GeoLocation |
withLon(Double lon)
The longitude information of the remote IP address.
|
public void setLat(Double lat)
The latitude information of the remote IP address.
lat
- The latitude information of the remote IP address.public Double getLat()
The latitude information of the remote IP address.
public GeoLocation withLat(Double lat)
The latitude information of the remote IP address.
lat
- The latitude information of the remote IP address.public void setLon(Double lon)
The longitude information of the remote IP address.
lon
- The longitude information of the remote IP address.public Double getLon()
The longitude information of the remote IP address.
public GeoLocation withLon(Double lon)
The longitude information of the remote IP address.
lon
- The longitude information of the remote IP address.public String toString()
toString
in class Object
Object.toString()
public GeoLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.