public static interface ListDevicePositionsResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<ListDevicePositionsResponse.Builder,ListDevicePositionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListDevicePositionsResponse.Builder |
entries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position.
|
ListDevicePositionsResponse.Builder |
entries(Consumer<ListDevicePositionsResponseEntry.Builder>... entries)
Contains details about each device's last known position.
|
ListDevicePositionsResponse.Builder |
entries(ListDevicePositionsResponseEntry... entries)
Contains details about each device's last known position.
|
ListDevicePositionsResponse.Builder |
nextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDevicePositionsResponse.Builder entries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
entries - Contains details about each device's last known position. These details includes the device ID, the
time when the position was sampled on the device, the time that the service received the update, and
the most recent coordinates.ListDevicePositionsResponse.Builder entries(ListDevicePositionsResponseEntry... entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
entries - Contains details about each device's last known position. These details includes the device ID, the
time when the position was sampled on the device, the time that the service received the update, and
the most recent coordinates.ListDevicePositionsResponse.Builder entries(Consumer<ListDevicePositionsResponseEntry.Builder>... entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
This is a convenience method that creates an instance of theListDevicePositionsResponseEntry.Builder avoiding the
need to create one manually via
ListDevicePositionsResponseEntry.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #entries(List.
entries - a consumer that will call methods on
ListDevicePositionsResponseEntry.Builder#entries(java.util.Collection) ListDevicePositionsResponse.Builder nextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken - A pagination token indicating there are additional pages available. You can use the token in a
following request to fetch the next set of results.Copyright © 2023. All rights reserved.