@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GPSCoordinates extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the GPS coordinates of a location.
| Constructor and Description |
|---|
GPSCoordinates() |
| Modifier and Type | Method and Description |
|---|---|
GPSCoordinates |
clone() |
boolean |
equals(Object obj) |
Double |
getLatitude()
The latitude coordinate of the location.
|
Double |
getLongitude()
The longitude coordinate of the location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLatitude(Double latitude)
The latitude coordinate of the location.
|
void |
setLongitude(Double longitude)
The longitude coordinate of the location.
|
String |
toString()
Returns a string representation of this object.
|
GPSCoordinates |
withLatitude(Double latitude)
The latitude coordinate of the location.
|
GPSCoordinates |
withLongitude(Double longitude)
The longitude coordinate of the location.
|
public void setLatitude(Double latitude)
The latitude coordinate of the location.
latitude - The latitude coordinate of the location.public Double getLatitude()
The latitude coordinate of the location.
public GPSCoordinates withLatitude(Double latitude)
The latitude coordinate of the location.
latitude - The latitude coordinate of the location.public void setLongitude(Double longitude)
The longitude coordinate of the location.
longitude - The longitude coordinate of the location.public Double getLongitude()
The longitude coordinate of the location.
public GPSCoordinates withLongitude(Double longitude)
The longitude coordinate of the location.
longitude - The longitude coordinate of the location.public String toString()
toString in class ObjectObject.toString()public GPSCoordinates clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.