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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VerifyDevicePositionResponse.BuilderdeviceId(String deviceId)The device identifier.VerifyDevicePositionResponse.BuilderdistanceUnit(String distanceUnit)The distance unit for the verification response.VerifyDevicePositionResponse.BuilderdistanceUnit(DistanceUnit distanceUnit)The distance unit for the verification response.default VerifyDevicePositionResponse.BuilderinferredState(Consumer<InferredState.Builder> inferredState)The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.VerifyDevicePositionResponse.BuilderinferredState(InferredState inferredState)The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.VerifyDevicePositionResponse.BuilderreceivedTime(Instant receivedTime)The timestamp for when the tracker resource received the device position in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.VerifyDevicePositionResponse.BuildersampleTime(Instant sampleTime)The timestamp at which the device's position was determined.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
inferredState
VerifyDevicePositionResponse.Builder inferredState(InferredState 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:
inferredState(InferredState)
-
deviceId
VerifyDevicePositionResponse.Builder deviceId(String 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
VerifyDevicePositionResponse.Builder sampleTime(Instant 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,DistanceUnit
-
distanceUnit
VerifyDevicePositionResponse.Builder distanceUnit(DistanceUnit 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,DistanceUnit
-
-