Interface GetPositionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPositionResponse.Builder,
,GetPositionResponse> IotWirelessResponse.Builder
,SdkBuilder<GetPositionResponse.Builder,
,GetPositionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPositionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPositionResponse.Builder
accuracy
(Consumer<Accuracy.Builder> accuracy) The accuracy of the estimated position in meters.The accuracy of the estimated position in meters.The position information of the resource.position
(Collection<Float> position) The position information of the resource.solverProvider
(String solverProvider) The vendor of the positioning solver.solverProvider
(PositionSolverProvider solverProvider) The vendor of the positioning solver.solverType
(String solverType) The type of solver used to identify the position of the resource.solverType
(PositionSolverType solverType) The type of solver used to identify the position of the resource.solverVersion
(String solverVersion) The version of the positioning solver.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.iotwireless.model.IotWirelessResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
position
The position information of the resource.
- Parameters:
position
- The position information of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The position information of the resource.
- Parameters:
position
- The position information of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracy
The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.
- Parameters:
accuracy
- The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracy
The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.
This is a convenience method that creates an instance of theAccuracy.Builder
avoiding the need to create one manually viaAccuracy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccuracy(Accuracy)
.- Parameters:
accuracy
- a consumer that will call methods onAccuracy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
solverType
The type of solver used to identify the position of the resource.
- Parameters:
solverType
- The type of solver used to identify the position of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
solverType
The type of solver used to identify the position of the resource.
- Parameters:
solverType
- The type of solver used to identify the position of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
solverProvider
The vendor of the positioning solver.
- Parameters:
solverProvider
- The vendor of the positioning solver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
solverProvider
The vendor of the positioning solver.
- Parameters:
solverProvider
- The vendor of the positioning solver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
solverVersion
The version of the positioning solver.
- Parameters:
solverVersion
- The version of the positioning solver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp at which the device's position was determined.
- Parameters:
timestamp
- The timestamp at which the device's position was determined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-