@Generated(value="software.amazon.awssdk:codegen") public final class LocationAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocationAction.Builder,LocationAction>
The Amazon Location rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocationAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LocationAction.Builder |
builder() |
String |
deviceId()
The unique ID of the device providing the location data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
latitude()
A string that evaluates to a double value that represents the latitude of the device's location.
|
String |
longitude()
A string that evaluates to a double value that represents the longitude of the device's location.
|
String |
roleArn()
The IAM role that grants permission to write to the Amazon Location resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocationAction.Builder> |
serializableBuilderClass() |
LocationTimestamp |
timestamp()
The time that the location data was sampled.
|
LocationAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trackerName()
The name of the tracker resource in Amazon Location in which the location is updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleArn()
The IAM role that grants permission to write to the Amazon Location resource.
public final String trackerName()
The name of the tracker resource in Amazon Location in which the location is updated.
public final String deviceId()
The unique ID of the device providing the location data.
public final LocationTimestamp timestamp()
The time that the location data was sampled. The default value is the time the MQTT message was processed.
public final String latitude()
A string that evaluates to a double value that represents the latitude of the device's location.
public final String longitude()
A string that evaluates to a double value that represents the longitude of the device's location.
public LocationAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LocationAction.Builder,LocationAction>public static LocationAction.Builder builder()
public static Class<? extends LocationAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.