@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForecastGeofenceEventsDeviceState extends Object implements Serializable, Cloneable, StructuredPojo
The device's position, IP address, and WiFi access points.
| Constructor and Description |
|---|
ForecastGeofenceEventsDeviceState() |
| Modifier and Type | Method and Description |
|---|---|
ForecastGeofenceEventsDeviceState |
clone() |
boolean |
equals(Object obj) |
List<Double> |
getPosition()
The device's position.
|
Double |
getSpeed()
The device's speed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPosition(Collection<Double> position)
The device's position.
|
void |
setSpeed(Double speed)
The device's speed.
|
String |
toString()
Returns a string representation of this object.
|
ForecastGeofenceEventsDeviceState |
withPosition(Collection<Double> position)
The device's position.
|
ForecastGeofenceEventsDeviceState |
withPosition(Double... position)
The device's position.
|
ForecastGeofenceEventsDeviceState |
withSpeed(Double speed)
The device's speed.
|
public List<Double> getPosition()
The device's position.
public void setPosition(Collection<Double> position)
The device's position.
position - The device's position.public ForecastGeofenceEventsDeviceState withPosition(Double... position)
The device's position.
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's position.public ForecastGeofenceEventsDeviceState withPosition(Collection<Double> position)
The device's position.
position - The device's position.public void setSpeed(Double speed)
The device's speed.
speed - The device's speed.public Double getSpeed()
The device's speed.
public ForecastGeofenceEventsDeviceState withSpeed(Double speed)
The device's speed.
speed - The device's speed.public String toString()
toString in class ObjectObject.toString()public ForecastGeofenceEventsDeviceState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.