StructuredPojo, ToCopyableBuilder<Location.Builder,Location>@Generated("software.amazon.awssdk:codegen") public class Location extends Object implements StructuredPojo, ToCopyableBuilder<Location.Builder,Location>
Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491).
Elevation is currently not supported.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Location.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static Location.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Double |
latitude() |
The latitude.
|
Double |
longitude() |
The longitude.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Location.Builder> |
serializableBuilderClass() |
|
Location.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Double latitude()
The latitude.
public Double longitude()
The longitude.
public Location.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Location.Builder,Location>public static Location.Builder builder()
public static Class<? extends Location.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.