Class Position
- java.lang.Object
-
- software.amazon.awssdk.services.privatenetworks.model.Position
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Position.Builder,Position>
@Generated("software.amazon.awssdk:codegen") public final class Position extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Position.Builder,Position>
Information about a position.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePosition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Position.Builderbuilder()Doubleelevation()The elevation of the equipment at this position.ElevationReferenceelevationReference()The reference point from which elevation is reported.StringelevationReferenceAsString()The reference point from which elevation is reported.ElevationUnitelevationUnit()The units used to measure the elevation of the position.StringelevationUnitAsString()The units used to measure the elevation of the position.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublelatitude()The latitude of the position.Doublelongitude()The longitude of the position.List<SdkField<?>>sdkFields()static Class<? extends Position.Builder>serializableBuilderClass()Position.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
elevation
public final Double elevation()
The elevation of the equipment at this position.
- Returns:
- The elevation of the equipment at this position.
-
elevationReference
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,
elevationReferencewill returnElevationReference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelevationReferenceAsString().- Returns:
- The reference point from which elevation is reported.
- See Also:
ElevationReference
-
elevationReferenceAsString
public 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,
elevationReferencewill returnElevationReference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelevationReferenceAsString().- Returns:
- The reference point from which elevation is reported.
- See Also:
ElevationReference
-
elevationUnit
public 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,
elevationUnitwill returnElevationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelevationUnitAsString().- Returns:
- The units used to measure the elevation of the position.
- See Also:
ElevationUnit
-
elevationUnitAsString
public 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,
elevationUnitwill returnElevationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelevationUnitAsString().- Returns:
- The units used to measure the elevation of the position.
- See Also:
ElevationUnit
-
latitude
public final Double latitude()
The latitude of the position.
- Returns:
- The latitude of the position.
-
longitude
public final Double longitude()
The longitude of the position.
- Returns:
- The longitude of the position.
-
toBuilder
public Position.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Position.Builder,Position>
-
builder
public static Position.Builder builder()
-
serializableBuilderClass
public static Class<? extends Position.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-