Interface InferredState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferredState.Builder,InferredState>,SdkBuilder<InferredState.Builder,InferredState>,SdkPojo
- Enclosing class:
- InferredState
public static interface InferredState.Builder extends SdkPojo, CopyableBuilder<InferredState.Builder,InferredState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InferredState.Builderaccuracy(Consumer<PositionalAccuracy.Builder> accuracy)The level of certainty of the inferred position.InferredState.Builderaccuracy(PositionalAccuracy accuracy)The level of certainty of the inferred position.InferredState.BuilderdeviationDistance(Double deviationDistance)The distance between the inferred position and the device's self-reported position.InferredState.Builderposition(Double... position)The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.InferredState.Builderposition(Collection<Double> position)The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.InferredState.BuilderproxyDetected(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, sdkFields
-
-
-
-
Method Detail
-
position
InferredState.Builder position(Collection<Double> 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
InferredState.Builder position(Double... 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
InferredState.Builder accuracy(PositionalAccuracy 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
default InferredState.Builder accuracy(Consumer<PositionalAccuracy.Builder> accuracy)
The level of certainty of the inferred position.
This is a convenience method that creates an instance of thePositionalAccuracy.Builderavoiding the need to create one manually viaPositionalAccuracy.builder().When the
Consumercompletes,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:
accuracy(PositionalAccuracy)
-
deviationDistance
InferredState.Builder deviationDistance(Double 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
InferredState.Builder proxyDetected(Boolean 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.
-
-