@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Geometry extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Geometry() |
Modifier and Type | Method and Description |
---|---|
Geometry |
clone() |
boolean |
equals(Object obj) |
List<List<List<Double>>> |
getCoordinates()
|
String |
getType()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoordinates(Collection<List<List<Double>>> coordinates)
|
void |
setType(String type)
|
String |
toString()
Returns a string representation of this object.
|
Geometry |
withCoordinates(Collection<List<List<Double>>> coordinates)
|
Geometry |
withCoordinates(List<List<Double>>... coordinates)
|
Geometry |
withType(String type)
|
public void setCoordinates(Collection<List<List<Double>>> coordinates)
coordinates
- public Geometry withCoordinates(List<List<Double>>... coordinates)
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
- public Geometry withCoordinates(Collection<List<List<Double>>> coordinates)
coordinates
- public void setType(String type)
type
- public String getType()
public Geometry withType(String type)
type
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.