Interface BatchGetDevicePositionResponse.Builder

    • Method Detail

      • errors

        BatchGetDevicePositionResponse.Builder errors​(Collection<BatchGetDevicePositionError> errors)

        Contains error details for each device that failed to send its position to the tracker resource.

        Parameters:
        errors - Contains error details for each device that failed to send its position to the tracker resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        BatchGetDevicePositionResponse.Builder errors​(BatchGetDevicePositionError... errors)

        Contains error details for each device that failed to send its position to the tracker resource.

        Parameters:
        errors - Contains error details for each device that failed to send its position to the tracker resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • devicePositions

        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.

        Parameters:
        devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • devicePositions

        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.

        Parameters:
        devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.