@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTrackerRequest extends LocationRequest implements ToCopyableBuilder<UpdateTrackerRequest.Builder,UpdateTrackerRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTrackerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTrackerRequest.Builder |
builder() |
String |
description()
Updates the description for the tracker resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
eventBridgeEnabled()
Whether to enable position
UPDATE events from this tracker to be sent to EventBridge. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
kmsKeyEnableGeospatialQueries()
Enables
GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer
managed key. |
PositionFiltering |
positionFiltering()
Updates the position filtering for the tracker resource.
|
String |
positionFilteringAsString()
Updates the position filtering for the tracker resource.
|
PricingPlan |
pricingPlan()
Deprecated.
Deprecated. If included, the only allowed value is RequestBasedUsage.
|
String |
pricingPlanAsString()
Deprecated.
Deprecated. If included, the only allowed value is RequestBasedUsage.
|
String |
pricingPlanDataSource()
Deprecated.
Deprecated. No longer allowed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTrackerRequest.Builder> |
serializableBuilderClass() |
UpdateTrackerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trackerName()
The name of the tracker resource to update.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String description()
Updates the description for the tracker resource.
public final Boolean eventBridgeEnabled()
Whether to enable position UPDATE events from this tracker to be sent to EventBridge.
You do not need enable this feature to get ENTER and EXIT events for geofences with
this tracker. Those events are always sent to EventBridge.
UPDATE events from this tracker to be sent to EventBridge.
You do not need enable this feature to get ENTER and EXIT events for geofences
with this tracker. Those events are always sent to EventBridge.
public final Boolean kmsKeyEnableGeospatialQueries()
Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer
managed key.
This parameter is only used if you are using a KMS customer managed key.
GeospatialQueries for a tracker that uses a Amazon Web Services KMS
customer managed key.
This parameter is only used if you are using a KMS customer managed key.
public final PositionFiltering positionFiltering()
Updates the position filtering for the tracker resource.
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not every
location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds
is stored for each unique device ID.
DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored.
Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This
helps control costs by reducing the number of geofence evaluations and historical device positions to paginate
through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on
a map.
AccuracyBased - If the device has moved less than the measured accuracy, location updates are
ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the
second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated
against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device
trajectories on a map, and can help control costs by reducing the number of geofence evaluations.
If the service returns an enum value that is not available in the current SDK version, positionFiltering
will return PositionFiltering.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from positionFilteringAsString().
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not
every location update is stored. If your update frequency is more often than 30 seconds, only one update
per 30 seconds is stored for each unique device ID.
DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are
ignored. Location updates within this distance are neither evaluated against linked geofence collections,
nor stored. This helps control costs by reducing the number of geofence evaluations and historical device
positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when
displaying device trajectories on a map.
AccuracyBased - If the device has moved less than the measured accuracy, location updates
are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and
10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are
neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS
noise when displaying device trajectories on a map, and can help control costs by reducing the number of
geofence evaluations.
PositionFilteringpublic final String positionFilteringAsString()
Updates the position filtering for the tracker resource.
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not every
location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds
is stored for each unique device ID.
DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored.
Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This
helps control costs by reducing the number of geofence evaluations and historical device positions to paginate
through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on
a map.
AccuracyBased - If the device has moved less than the measured accuracy, location updates are
ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the
second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated
against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device
trajectories on a map, and can help control costs by reducing the number of geofence evaluations.
If the service returns an enum value that is not available in the current SDK version, positionFiltering
will return PositionFiltering.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from positionFilteringAsString().
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not
every location update is stored. If your update frequency is more often than 30 seconds, only one update
per 30 seconds is stored for each unique device ID.
DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are
ignored. Location updates within this distance are neither evaluated against linked geofence collections,
nor stored. This helps control costs by reducing the number of geofence evaluations and historical device
positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when
displaying device trajectories on a map.
AccuracyBased - If the device has moved less than the measured accuracy, location updates
are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and
10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are
neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS
noise when displaying device trajectories on a map, and can help control costs by reducing the number of
geofence evaluations.
PositionFiltering@Deprecated public final PricingPlan pricingPlan()
No longer used. If included, the only allowed value is RequestBasedUsage.
If the service returns an enum value that is not available in the current SDK version, pricingPlan will
return PricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pricingPlanAsString().
RequestBasedUsage.PricingPlan@Deprecated public final String pricingPlanAsString()
No longer used. If included, the only allowed value is RequestBasedUsage.
If the service returns an enum value that is not available in the current SDK version, pricingPlan will
return PricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pricingPlanAsString().
RequestBasedUsage.PricingPlan@Deprecated public final String pricingPlanDataSource()
This parameter is no longer used.
public final String trackerName()
The name of the tracker resource to update.
public UpdateTrackerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTrackerRequest.Builder,UpdateTrackerRequest>toBuilder in class LocationRequestpublic static UpdateTrackerRequest.Builder builder()
public static Class<? extends UpdateTrackerRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.