Interface VerifyDevicePositionResponse.Builder

  • Method Details

    • inferredState

      The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.

      Parameters:
      inferredState - The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferredState

      The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.

      This is a convenience method that creates an instance of the InferredState.Builder avoiding the need to create one manually via InferredState.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inferredState(InferredState).

      Parameters:
      inferredState - a consumer that will call methods on InferredState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceId

      The device identifier.

      Parameters:
      deviceId - The device identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleTime

      The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

      Parameters:
      sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • receivedTime

      VerifyDevicePositionResponse.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.

      Parameters:
      receivedTime - The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • distanceUnit

      VerifyDevicePositionResponse.Builder distanceUnit(String distanceUnit)

      The distance unit for the verification response.

      Parameters:
      distanceUnit - The distance unit for the verification response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • distanceUnit

      The distance unit for the verification response.

      Parameters:
      distanceUnit - The distance unit for the verification response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: