public static interface BatchGetDevicePositionResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDevicePositionResponse.Builder,BatchGetDevicePositionResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetDevicePositionResponse.Builder |
devicePositions(Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was
received and sampled.
|
BatchGetDevicePositionResponse.Builder |
devicePositions(Consumer<DevicePosition.Builder>... devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was
received and sampled.
|
BatchGetDevicePositionResponse.Builder |
devicePositions(DevicePosition... devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was
received and sampled.
|
BatchGetDevicePositionResponse.Builder |
errors(BatchGetDevicePositionError... errors)
Contains error details for each device that failed to send its position to the tracker resource.
|
BatchGetDevicePositionResponse.Builder |
errors(Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
|
BatchGetDevicePositionResponse.Builder |
errors(Consumer<BatchGetDevicePositionError.Builder>... errors)
Contains error details for each device that failed to send its position to the tracker resource.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetDevicePositionResponse.Builder devicePositions(Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position
was received and sampled.BatchGetDevicePositionResponse.Builder devicePositions(DevicePosition... devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position
was received and sampled.BatchGetDevicePositionResponse.Builder devicePositions(Consumer<DevicePosition.Builder>... devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
This is a convenience method that creates an instance of theDevicePosition.Builder avoiding the need to create one
manually via DevicePosition.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #devicePositions(List.
devicePositions - a consumer that will call methods on
DevicePosition.Builder#devicePositions(java.util.Collection) BatchGetDevicePositionResponse.Builder errors(Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
errors - Contains error details for each device that failed to send its position to the tracker resource.BatchGetDevicePositionResponse.Builder errors(BatchGetDevicePositionError... errors)
Contains error details for each device that failed to send its position to the tracker resource.
errors - Contains error details for each device that failed to send its position to the tracker resource.BatchGetDevicePositionResponse.Builder errors(Consumer<BatchGetDevicePositionError.Builder>... errors)
Contains error details for each device that failed to send its position to the tracker resource.
This is a convenience method that creates an instance of theBatchGetDevicePositionError.Builder avoiding the need
to create one manually via
BatchGetDevicePositionError.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
BatchGetDevicePositionError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.