public static interface LocationAction.Builder extends SdkPojo, CopyableBuilder<LocationAction.Builder,LocationAction>
| Modifier and Type | Method and Description |
|---|---|
LocationAction.Builder |
deviceId(String deviceId)
The unique ID of the device providing the location data.
|
LocationAction.Builder |
latitude(String latitude)
A string that evaluates to a double value that represents the latitude of the device's location.
|
LocationAction.Builder |
longitude(String longitude)
A string that evaluates to a double value that represents the longitude of the device's location.
|
LocationAction.Builder |
roleArn(String roleArn)
The IAM role that grants permission to write to the Amazon Location resource.
|
default LocationAction.Builder |
timestamp(Consumer<LocationTimestamp.Builder> timestamp)
The time that the location data was sampled.
|
LocationAction.Builder |
timestamp(LocationTimestamp timestamp)
The time that the location data was sampled.
|
LocationAction.Builder |
trackerName(String trackerName)
The name of the tracker resource in Amazon Location in which the location is updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLocationAction.Builder roleArn(String roleArn)
The IAM role that grants permission to write to the Amazon Location resource.
roleArn - The IAM role that grants permission to write to the Amazon Location resource.LocationAction.Builder trackerName(String trackerName)
The name of the tracker resource in Amazon Location in which the location is updated.
trackerName - The name of the tracker resource in Amazon Location in which the location is updated.LocationAction.Builder deviceId(String deviceId)
The unique ID of the device providing the location data.
deviceId - The unique ID of the device providing the location data.LocationAction.Builder timestamp(LocationTimestamp timestamp)
The time that the location data was sampled. The default value is the time the MQTT message was processed.
timestamp - The time that the location data was sampled. The default value is the time the MQTT message was
processed.default LocationAction.Builder timestamp(Consumer<LocationTimestamp.Builder> timestamp)
The time that the location data was sampled. The default value is the time the MQTT message was processed.
This is a convenience method that creates an instance of theLocationTimestamp.Builder avoiding the
need to create one manually via LocationTimestamp.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timestamp(LocationTimestamp).
timestamp - a consumer that will call methods on LocationTimestamp.Buildertimestamp(LocationTimestamp)LocationAction.Builder latitude(String latitude)
A string that evaluates to a double value that represents the latitude of the device's location.
latitude - A string that evaluates to a double value that represents the latitude of the device's location.LocationAction.Builder longitude(String longitude)
A string that evaluates to a double value that represents the longitude of the device's location.
longitude - A string that evaluates to a double value that represents the longitude of the device's location.Copyright © 2023. All rights reserved.