Interface InferredState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InferredState.Builder,
,InferredState> SdkBuilder<InferredState.Builder,
,InferredState> SdkPojo
- Enclosing class:
InferredState
@Mutable
@NotThreadSafe
public static interface InferredState.Builder
extends SdkPojo, CopyableBuilder<InferredState.Builder,InferredState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InferredState.Builder
accuracy
(Consumer<PositionalAccuracy.Builder> accuracy) The level of certainty of the inferred position.accuracy
(PositionalAccuracy accuracy) The level of certainty of the inferred position.deviationDistance
(Double deviationDistance) The distance between the inferred position and the device's self-reported position.The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.position
(Collection<Double> position) The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.proxyDetected
(Boolean proxyDetected) Indicates if a proxy was used.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
position
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
- Parameters:
position
- The device position inferred by 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.
-
position
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
- Parameters:
position
- The device position inferred by 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.
-
accuracy
The level of certainty of the inferred position.
- Parameters:
accuracy
- The level of certainty of the inferred position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracy
The level of certainty of the inferred position.
This is a convenience method that creates an instance of thePositionalAccuracy.Builder
avoiding the need to create one manually viaPositionalAccuracy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccuracy(PositionalAccuracy)
.- Parameters:
accuracy
- a consumer that will call methods onPositionalAccuracy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviationDistance
The distance between the inferred position and the device's self-reported position.
- Parameters:
deviationDistance
- The distance between the inferred position and the device's self-reported position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyDetected
Indicates if a proxy was used.
- Parameters:
proxyDetected
- Indicates if a proxy was used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-