@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoLocation extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
GeoLocation() |
| Modifier and Type | Method and Description |
|---|---|
GeoLocation |
clone() |
boolean |
equals(Object obj) |
Double |
getLat()
Latitude information of remote IP address.
|
Double |
getLon()
Longitude information of remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLat(Double lat)
Latitude information of remote IP address.
|
void |
setLon(Double lon)
Longitude information of remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
GeoLocation |
withLat(Double lat)
Latitude information of remote IP address.
|
GeoLocation |
withLon(Double lon)
Longitude information of remote IP address.
|
public void setLat(Double lat)
lat - Latitude information of remote IP address.public Double getLat()
public GeoLocation withLat(Double lat)
lat - Latitude information of remote IP address.public void setLon(Double lon)
lon - Longitude information of remote IP address.public Double getLon()
public GeoLocation withLon(Double lon)
lon - Longitude information of remote IP address.public String toString()
toString in class ObjectObject.toString()public GeoLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.