@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlaceGeometry extends Object implements Serializable, Cloneable, StructuredPojo
Places uses a point geometry to specify a location or a Place.
Constructor and Description |
---|
PlaceGeometry() |
Modifier and Type | Method and Description |
---|---|
PlaceGeometry |
clone() |
boolean |
equals(Object obj) |
List<Double> |
getPoint()
A single point geometry specifies a location for a Place using WGS 84 coordinates:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPoint(Collection<Double> point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
|
String |
toString()
Returns a string representation of this object.
|
PlaceGeometry |
withPoint(Collection<Double> point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
|
PlaceGeometry |
withPoint(Double... point)
A single point geometry specifies a location for a Place using WGS 84 coordinates:
|
public List<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.
x — Specifies the x coordinate or longitude.
y — Specifies the y coordinate or latitude.
public void setPoint(Collection<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(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.
NOTE: This method appends the values to the existing list (if any). Use
setPoint(java.util.Collection)
or withPoint(java.util.Collection)
if you want to override the
existing values.
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(Collection<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 String toString()
toString
in class Object
Object.toString()
public PlaceGeometry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.