public class PlaceGeometry
extends java.lang.Object
implements java.io.Serializable
Places uses a point geometry to specify a location or a Place.
| Constructor and Description |
|---|
PlaceGeometry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.Double> |
getPoint()
A single point geometry specifies a location for a Place using WGS 84
coordinates:
|
int |
hashCode() |
void |
setPoint(java.util.Collection<java.lang.Double> point)
A single point geometry specifies a location for a Place using WGS 84
coordinates:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PlaceGeometry |
withPoint(java.util.Collection<java.lang.Double> point)
A single point geometry specifies a location for a Place using WGS 84
coordinates:
|
PlaceGeometry |
withPoint(java.lang.Double... point)
A single point geometry specifies a location for a Place using WGS 84
coordinates:
|
public java.util.List<java.lang.Double> getPoint()
A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
public void setPoint(java.util.Collection<java.lang.Double> point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
point - A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
public PlaceGeometry withPoint(java.lang.Double... point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
Returns a reference to this object so that method calls can be chained together.
point - A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
public PlaceGeometry withPoint(java.util.Collection<java.lang.Double> point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
Returns a reference to this object so that method calls can be chained together.
point - A single point geometry specifies a location for a Place using WGS 84 coordinates:
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.