@Generated(value="software.amazon.awssdk:codegen") public final 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 and Description |
---|---|
static interface |
Location.Builder |
Modifier and Type | Method and Description |
---|---|
static Location.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
copy
public Double latitude()
The latitude.
public Double longitude()
The longitude.
public Location.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Location.Builder,Location>
public static Location.Builder builder()
public static Class<? extends Location.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.