Class GPSCoordinates
java.lang.Object
software.amazon.awssdk.services.pinpoint.model.GPSCoordinates
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GPSCoordinates.Builder,GPSCoordinates>
@Generated("software.amazon.awssdk:codegen")
public final class GPSCoordinates
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GPSCoordinates.Builder,GPSCoordinates>
Specifies the GPS coordinates of a location.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GPSCoordinates.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Doublelatitude()The latitude coordinate of the location.final DoubleThe longitude coordinate of the location.static Class<? extends GPSCoordinates.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
latitude
The latitude coordinate of the location.
- Returns:
- The latitude coordinate of the location.
-
longitude
The longitude coordinate of the location.
- Returns:
- The longitude coordinate of the location.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GPSCoordinates.Builder,GPSCoordinates>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-