@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Coordinates extends Object implements Serializable, Cloneable
A complex type that lists the coordinates for a geoproximity resource record.
Constructor and Description |
---|
Coordinates() |
Modifier and Type | Method and Description |
---|---|
Coordinates |
clone() |
boolean |
equals(Object obj) |
String |
getLatitude()
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
|
String |
getLongitude()
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
|
int |
hashCode() |
void |
setLatitude(String latitude)
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
|
void |
setLongitude(String longitude)
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
|
String |
toString()
Returns a string representation of this object.
|
Coordinates |
withLatitude(String latitude)
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
|
Coordinates |
withLongitude(String longitude)
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
|
public void setLatitude(String latitude)
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
latitude
- Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90
- 90).public String getLatitude()
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
public Coordinates withLatitude(String latitude)
Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90).
latitude
- Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90
- 90).public void setLongitude(String longitude)
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
longitude
- Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 -
180).public String getLongitude()
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
public Coordinates withLongitude(String longitude)
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180).
longitude
- Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 -
180).public String toString()
toString
in class Object
Object.toString()
public Coordinates clone()