Interface VerifyDevicePositionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<VerifyDevicePositionResponse.Builder,,VerifyDevicePositionResponse> LocationResponse.Builder,SdkBuilder<VerifyDevicePositionResponse.Builder,,VerifyDevicePositionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
VerifyDevicePositionResponse
public static interface VerifyDevicePositionResponse.Builder
extends LocationResponse.Builder, SdkPojo, CopyableBuilder<VerifyDevicePositionResponse.Builder,VerifyDevicePositionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe device identifier.distanceUnit(String distanceUnit) The distance unit for the verification response.distanceUnit(DistanceUnit distanceUnit) The distance unit for the verification response.inferredState(Consumer<InferredState.Builder> inferredState) The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.inferredState(InferredState inferredState) The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.receivedTime(Instant receivedTime) The timestamp for when the tracker resource received the device position in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.sampleTime(Instant sampleTime) The timestamp at which the device's position was determined.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
default VerifyDevicePositionResponse.Builder inferredState(Consumer<InferredState.Builder> 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 theInferredState.Builderavoiding the need to create one manually viaInferredState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferredState(InferredState).- Parameters:
inferredState- a consumer that will call methods onInferredState.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
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
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:
-