public static interface GetDevicePositionResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<GetDevicePositionResponse.Builder,GetDevicePositionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetDevicePositionResponse.Builder |
deviceId(String deviceId)
The device whose position you retrieved.
|
GetDevicePositionResponse.Builder |
position(Collection<Double> position)
The last known device position.
|
GetDevicePositionResponse.Builder |
position(Double... position)
The last known device position.
|
GetDevicePositionResponse.Builder |
receivedTime(Instant receivedTime)
The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
GetDevicePositionResponse.Builder |
sampleTime(Instant sampleTime)
The timestamp at which the device's position was determined.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDevicePositionResponse.Builder deviceId(String deviceId)
The device whose position you retrieved.
deviceId - The device whose position you retrieved.GetDevicePositionResponse.Builder position(Collection<Double> position)
The last known device position.
position - The last known device position.GetDevicePositionResponse.Builder position(Double... position)
The last known device position.
position - The last known device position.GetDevicePositionResponse.Builder receivedTime(Instant receivedTime)
The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
receivedTime - The timestamp for when the tracker resource received the device position in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.GetDevicePositionResponse.Builder sampleTime(Instant sampleTime)
The timestamp at which the device's position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.Copyright © 2021. All rights reserved.