@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolygonGeometryInput extends Object implements Serializable, Cloneable, StructuredPojo
The structure representing Polygon Geometry based on the GeoJson spec.
Constructor and Description |
---|
PolygonGeometryInput() |
Modifier and Type | Method and Description |
---|---|
PolygonGeometryInput |
clone() |
boolean |
equals(Object obj) |
List<List<List<Double>>> |
getCoordinates()
Coordinates representing a Polygon based on the GeoJson spec.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoordinates(Collection<List<List<Double>>> coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
|
String |
toString()
Returns a string representation of this object.
|
PolygonGeometryInput |
withCoordinates(Collection<List<List<Double>>> coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
|
PolygonGeometryInput |
withCoordinates(List<List<Double>>... coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
|
public List<List<List<Double>>> getCoordinates()
Coordinates representing a Polygon based on the GeoJson spec.
public void setCoordinates(Collection<List<List<Double>>> coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
coordinates
- Coordinates representing a Polygon based on the GeoJson spec.public PolygonGeometryInput withCoordinates(List<List<Double>>... coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
NOTE: This method appends the values to the existing list (if any). Use
setCoordinates(java.util.Collection)
or withCoordinates(java.util.Collection)
if you want to
override the existing values.
coordinates
- Coordinates representing a Polygon based on the GeoJson spec.public PolygonGeometryInput withCoordinates(Collection<List<List<Double>>> coordinates)
Coordinates representing a Polygon based on the GeoJson spec.
coordinates
- Coordinates representing a Polygon based on the GeoJson spec.public String toString()
toString
in class Object
Object.toString()
public PolygonGeometryInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.