@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferredState extends Object implements Serializable, Cloneable, StructuredPojo
The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.
Constructor and Description |
---|
InferredState() |
Modifier and Type | Method and Description |
---|---|
InferredState |
clone() |
boolean |
equals(Object obj) |
PositionalAccuracy |
getAccuracy()
The level of certainty of the inferred position.
|
Double |
getDeviationDistance()
The distance between the inferred position and the device's self-reported position.
|
List<Double> |
getPosition()
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
|
Boolean |
getProxyDetected()
Indicates if a proxy was used.
|
int |
hashCode() |
Boolean |
isProxyDetected()
Indicates if a proxy was used.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccuracy(PositionalAccuracy accuracy)
The level of certainty of the inferred position.
|
void |
setDeviationDistance(Double deviationDistance)
The distance between the inferred position and the device's self-reported position.
|
void |
setPosition(Collection<Double> position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
|
void |
setProxyDetected(Boolean proxyDetected)
Indicates if a proxy was used.
|
String |
toString()
Returns a string representation of this object.
|
InferredState |
withAccuracy(PositionalAccuracy accuracy)
The level of certainty of the inferred position.
|
InferredState |
withDeviationDistance(Double deviationDistance)
The distance between the inferred position and the device's self-reported position.
|
InferredState |
withPosition(Collection<Double> position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
|
InferredState |
withPosition(Double... position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
|
InferredState |
withProxyDetected(Boolean proxyDetected)
Indicates if a proxy was used.
|
public List<Double> getPosition()
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
public void setPosition(Collection<Double> position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
position
- The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access
points.public InferredState withPosition(Double... position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
NOTE: This method appends the values to the existing list (if any). Use
setPosition(java.util.Collection)
or withPosition(java.util.Collection)
if you want to override
the existing values.
position
- The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access
points.public InferredState withPosition(Collection<Double> position)
The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.
position
- The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access
points.public void setAccuracy(PositionalAccuracy accuracy)
The level of certainty of the inferred position.
accuracy
- The level of certainty of the inferred position.public PositionalAccuracy getAccuracy()
The level of certainty of the inferred position.
public InferredState withAccuracy(PositionalAccuracy accuracy)
The level of certainty of the inferred position.
accuracy
- The level of certainty of the inferred position.public void setDeviationDistance(Double deviationDistance)
The distance between the inferred position and the device's self-reported position.
deviationDistance
- The distance between the inferred position and the device's self-reported position.public Double getDeviationDistance()
The distance between the inferred position and the device's self-reported position.
public InferredState withDeviationDistance(Double deviationDistance)
The distance between the inferred position and the device's self-reported position.
deviationDistance
- The distance between the inferred position and the device's self-reported position.public void setProxyDetected(Boolean proxyDetected)
Indicates if a proxy was used.
proxyDetected
- Indicates if a proxy was used.public Boolean getProxyDetected()
Indicates if a proxy was used.
public InferredState withProxyDetected(Boolean proxyDetected)
Indicates if a proxy was used.
proxyDetected
- Indicates if a proxy was used.public Boolean isProxyDetected()
Indicates if a proxy was used.
public String toString()
toString
in class Object
Object.toString()
public InferredState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.