Interface GetPositionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPositionResponse.Builder,GetPositionResponse>,IotWirelessResponse.Builder,SdkBuilder<GetPositionResponse.Builder,GetPositionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPositionResponse
public static interface GetPositionResponse.Builder extends IotWirelessResponse.Builder, SdkPojo, CopyableBuilder<GetPositionResponse.Builder,GetPositionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPositionResponse.Builderaccuracy(Consumer<Accuracy.Builder> accuracy)The accuracy of the estimated position in meters.GetPositionResponse.Builderaccuracy(Accuracy accuracy)The accuracy of the estimated position in meters.GetPositionResponse.Builderposition(Float... position)The position information of the resource.GetPositionResponse.Builderposition(Collection<Float> position)The position information of the resource.GetPositionResponse.BuildersolverProvider(String solverProvider)The vendor of the positioning solver.GetPositionResponse.BuildersolverProvider(PositionSolverProvider solverProvider)The vendor of the positioning solver.GetPositionResponse.BuildersolverType(String solverType)The type of solver used to identify the position of the resource.GetPositionResponse.BuildersolverType(PositionSolverType solverType)The type of solver used to identify the position of the resource.GetPositionResponse.BuildersolverVersion(String solverVersion)The version of the positioning solver.GetPositionResponse.Buildertimestamp(String timestamp)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
position
GetPositionResponse.Builder position(Collection<Float> 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
GetPositionResponse.Builder position(Float... 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
GetPositionResponse.Builder accuracy(Accuracy 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
default GetPositionResponse.Builder accuracy(Consumer<Accuracy.Builder> 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.Builderavoiding the need to create one manually viaAccuracy.builder().When the
Consumercompletes,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:
accuracy(Accuracy)
-
solverType
GetPositionResponse.Builder solverType(String 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:
PositionSolverType,PositionSolverType
-
solverType
GetPositionResponse.Builder solverType(PositionSolverType 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:
PositionSolverType,PositionSolverType
-
solverProvider
GetPositionResponse.Builder solverProvider(String 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:
PositionSolverProvider,PositionSolverProvider
-
solverProvider
GetPositionResponse.Builder solverProvider(PositionSolverProvider 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:
PositionSolverProvider,PositionSolverProvider
-
solverVersion
GetPositionResponse.Builder solverVersion(String 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
GetPositionResponse.Builder timestamp(String 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.
-
-