public class BatchUpdateDevicePositionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Uploads a position update for one or more devices to a tracker resource. The data is used for API queries requesting the device position and position history.
Limitation — Location data is sampled at a fixed rate of 1 position per 30 second interval, and retained for 1 year before it is deleted.
Constructor and Description |
---|
BatchUpdateDevicePositionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTrackerName()
The name of the tracker resource to update.
|
java.util.List<DevicePositionUpdate> |
getUpdates()
Contains the position update details for each device.
|
int |
hashCode() |
void |
setTrackerName(java.lang.String trackerName)
The name of the tracker resource to update.
|
void |
setUpdates(java.util.Collection<DevicePositionUpdate> updates)
Contains the position update details for each device.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchUpdateDevicePositionRequest |
withTrackerName(java.lang.String trackerName)
The name of the tracker resource to update.
|
BatchUpdateDevicePositionRequest |
withUpdates(java.util.Collection<DevicePositionUpdate> updates)
Contains the position update details for each device.
|
BatchUpdateDevicePositionRequest |
withUpdates(DevicePositionUpdate... updates)
Contains the position update details for each device.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTrackerName()
The name of the tracker resource to update.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The name of the tracker resource to update.
public void setTrackerName(java.lang.String trackerName)
The name of the tracker resource to update.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The name of the tracker resource to update.
public BatchUpdateDevicePositionRequest withTrackerName(java.lang.String trackerName)
The name of the tracker resource to update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The name of the tracker resource to update.
public java.util.List<DevicePositionUpdate> getUpdates()
Contains the position update details for each device.
Contains the position update details for each device.
public void setUpdates(java.util.Collection<DevicePositionUpdate> updates)
Contains the position update details for each device.
updates
- Contains the position update details for each device.
public BatchUpdateDevicePositionRequest withUpdates(DevicePositionUpdate... updates)
Contains the position update details for each device.
Returns a reference to this object so that method calls can be chained together.
updates
- Contains the position update details for each device.
public BatchUpdateDevicePositionRequest withUpdates(java.util.Collection<DevicePositionUpdate> updates)
Contains the position update details for each device.
Returns a reference to this object so that method calls can be chained together.
updates
- Contains the position update details for each device.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.