@Generated(value="software.amazon.awssdk:codegen") public final class Position extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Position.Builder,Position>
Information about a position.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Position.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Position.Builder |
builder() |
Double |
elevation()
The elevation of the equipment at this position.
|
ElevationReference |
elevationReference()
The reference point from which elevation is reported.
|
String |
elevationReferenceAsString()
The reference point from which elevation is reported.
|
ElevationUnit |
elevationUnit()
The units used to measure the elevation of the position.
|
String |
elevationUnitAsString()
The units used to measure the elevation of the position.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
latitude()
The latitude of the position.
|
Double |
longitude()
The longitude of the position.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Position.Builder> |
serializableBuilderClass() |
Position.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double elevation()
The elevation of the equipment at this position.
public final ElevationReference elevationReference()
The reference point from which elevation is reported.
If the service returns an enum value that is not available in the current SDK version,
elevationReference will return ElevationReference.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from elevationReferenceAsString().
ElevationReferencepublic final String elevationReferenceAsString()
The reference point from which elevation is reported.
If the service returns an enum value that is not available in the current SDK version,
elevationReference will return ElevationReference.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from elevationReferenceAsString().
ElevationReferencepublic final ElevationUnit elevationUnit()
The units used to measure the elevation of the position.
If the service returns an enum value that is not available in the current SDK version, elevationUnit
will return ElevationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
elevationUnitAsString().
ElevationUnitpublic final String elevationUnitAsString()
The units used to measure the elevation of the position.
If the service returns an enum value that is not available in the current SDK version, elevationUnit
will return ElevationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
elevationUnitAsString().
ElevationUnitpublic final Double latitude()
The latitude of the position.
public final Double longitude()
The longitude of the position.
public Position.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Position.Builder,Position>public static Position.Builder builder()
public static Class<? extends Position.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.