@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PositionFiltering |
positionFiltering()
Updates the position filtering for the tracker resource.
|
String |
positionFilteringAsString()
Updates the position filtering for the tracker resource.
|
PricingPlan |
pricingPlan()
Updates the pricing plan for the tracker resource.
|
String |
pricingPlanAsString()
Updates the pricing plan for the tracker resource.
|
String |
pricingPlanDataSource()
Updates the data provider for the tracker resource.
|
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 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 device positions to retrieve.
Distance-based filtering can also reduce the jitter effect when displaying device trajectory on a map.
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 device positions
to retrieve. Distance-based filtering can also reduce the jitter effect when displaying device trajectory
on a map.
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 device positions to retrieve.
Distance-based filtering can also reduce the jitter effect when displaying device trajectory on a map.
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 device positions
to retrieve. Distance-based filtering can also reduce the jitter effect when displaying device trajectory
on a map.
PositionFilteringpublic final PricingPlan pricingPlan()
Updates the pricing plan for the tracker resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
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().
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
PricingPlanpublic final String pricingPlanAsString()
Updates the pricing plan for the tracker resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
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().
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
PricingPlanpublic final String pricingPlanDataSource()
Updates the data provider for the tracker resource.
A required value for the following pricing plans: MobileAssetTracking|
MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page
This can only be updated when updating the PricingPlan in the same request.
Amazon Location Service uses PricingPlanDataSource to calculate billing for your tracker resource.
Your data won't be shared with the data provider, and will remain in your AWS account and Region unless you move
it.
A required value for the following pricing plans: MobileAssetTracking|
MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page
This can only be updated when updating the PricingPlan in the same request.
Amazon Location Service uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data won't be shared with the data provider, and will remain in your AWS account and
Region unless you move it.
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 © 2021. All rights reserved.