Class UpdateTrackerRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateTrackerRequest.Builder,UpdateTrackerRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateTrackerRequest.Builderbuilder()final StringUpdates the description for the tracker resource.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final BooleanWhether to enable positionUPDATEevents from this tracker to be sent to EventBridge.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final BooleanEnablesGeospatialQueriesfor a tracker that uses a Amazon Web Services KMS customer managed key.final PositionFilteringUpdates the position filtering for the tracker resource.final StringUpdates the position filtering for the tracker resource.final PricingPlanDeprecated.Deprecated.final StringDeprecated.Deprecated.final StringDeprecated.Deprecated.static Class<? extends UpdateTrackerRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe name of the tracker resource to update.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
trackerName
The name of the tracker resource to update.
- Returns:
- The name of the tracker resource to update.
-
pricingPlan
Deprecated.Deprecated. If included, the only allowed value is RequestBasedUsage.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,
pricingPlanwill returnPricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompricingPlanAsString().- Returns:
- No longer used. If included, the only allowed value is
RequestBasedUsage. - See Also:
-
pricingPlanAsString
Deprecated.Deprecated. If included, the only allowed value is RequestBasedUsage.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,
pricingPlanwill returnPricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompricingPlanAsString().- Returns:
- No longer used. If included, the only allowed value is
RequestBasedUsage. - See Also:
-
pricingPlanDataSource
Deprecated.Deprecated. No longer allowed.This parameter is no longer used.
- Returns:
- This parameter is no longer used.
-
description
Updates the description for the tracker resource.
- Returns:
- Updates the description for the tracker resource.
-
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,
positionFilteringwill returnPositionFiltering.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompositionFilteringAsString().- Returns:
- 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.
-
- See Also:
-
-
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,
positionFilteringwill returnPositionFiltering.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompositionFilteringAsString().- Returns:
- 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.
-
- See Also:
-
-
eventBridgeEnabled
Whether to enable position
UPDATEevents from this tracker to be sent to EventBridge.You do not need enable this feature to get
ENTERandEXITevents for geofences with this tracker. Those events are always sent to EventBridge.- Returns:
- Whether to enable position
UPDATEevents from this tracker to be sent to EventBridge.You do not need enable this feature to get
ENTERandEXITevents for geofences with this tracker. Those events are always sent to EventBridge.
-
kmsKeyEnableGeospatialQueries
Enables
GeospatialQueriesfor 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.
- Returns:
- Enables
GeospatialQueriesfor 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateTrackerRequest.Builder,UpdateTrackerRequest> - Specified by:
toBuilderin classLocationRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-