@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrackerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTrackerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTrackerRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateTrackerRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateTrackerRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
An optional description for the tracker resource.
|
String |
getKmsKeyId()
A key identifier for an AWS KMS
customer managed key.
|
String |
getPositionFiltering()
Specifies the position filtering for the tracker resource.
|
String |
getPricingPlan()
Specifies the pricing plan for the tracker resource.
|
String |
getPricingPlanDataSource()
Specifies the data provider for the tracker resource.
|
Map<String,String> |
getTags()
Applies one or more tags to the tracker resource.
|
String |
getTrackerName()
The name for the tracker resource.
|
int |
hashCode() |
void |
setDescription(String description)
An optional description for the tracker resource.
|
void |
setKmsKeyId(String kmsKeyId)
A key identifier for an AWS KMS
customer managed key.
|
void |
setPositionFiltering(String positionFiltering)
Specifies the position filtering for the tracker resource.
|
void |
setPricingPlan(String pricingPlan)
Specifies the pricing plan for the tracker resource.
|
void |
setPricingPlanDataSource(String pricingPlanDataSource)
Specifies the data provider for the tracker resource.
|
void |
setTags(Map<String,String> tags)
Applies one or more tags to the tracker resource.
|
void |
setTrackerName(String trackerName)
The name for the tracker resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrackerRequest |
withDescription(String description)
An optional description for the tracker resource.
|
CreateTrackerRequest |
withKmsKeyId(String kmsKeyId)
A key identifier for an AWS KMS
customer managed key.
|
CreateTrackerRequest |
withPositionFiltering(PositionFiltering positionFiltering)
Specifies the position filtering for the tracker resource.
|
CreateTrackerRequest |
withPositionFiltering(String positionFiltering)
Specifies the position filtering for the tracker resource.
|
CreateTrackerRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for the tracker resource.
|
CreateTrackerRequest |
withPricingPlan(String pricingPlan)
Specifies the pricing plan for the tracker resource.
|
CreateTrackerRequest |
withPricingPlanDataSource(String pricingPlanDataSource)
Specifies the data provider for the tracker resource.
|
CreateTrackerRequest |
withTags(Map<String,String> tags)
Applies one or more tags to the tracker resource.
|
CreateTrackerRequest |
withTrackerName(String trackerName)
The name for the tracker resource.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDescription(String description)
An optional description for the tracker resource.
description - An optional description for the tracker resource.public String getDescription()
An optional description for the tracker resource.
public CreateTrackerRequest withDescription(String description)
An optional description for the tracker resource.
description - An optional description for the tracker resource.public void setKmsKeyId(String kmsKeyId)
A key identifier for an AWS KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
kmsKeyId - A key identifier for an AWS KMS customer managed
key. Enter a key ID, key ARN, alias name, or alias ARN.public String getKmsKeyId()
A key identifier for an AWS KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
public CreateTrackerRequest withKmsKeyId(String kmsKeyId)
A key identifier for an AWS KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
kmsKeyId - A key identifier for an AWS KMS customer managed
key. Enter a key ID, key ARN, alias name, or alias ARN.public void setPositionFiltering(String positionFiltering)
Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
positionFiltering - Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
PositionFilteringpublic String getPositionFiltering()
Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
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 area 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.
This field is optional. If not specified, the default value is TimeBased.
PositionFilteringpublic CreateTrackerRequest withPositionFiltering(String positionFiltering)
Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
positionFiltering - Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
PositionFilteringpublic CreateTrackerRequest withPositionFiltering(PositionFiltering positionFiltering)
Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
positionFiltering - Specifies 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 area 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.
This field is optional. If not specified, the default value is TimeBased.
PositionFilteringpublic void setPricingPlan(String pricingPlan)
Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
pricingPlan - Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic String getPricingPlan()
Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic CreateTrackerRequest withPricingPlan(String pricingPlan)
Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
pricingPlan - Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic CreateTrackerRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
pricingPlan - Specifies the pricing plan for the tracker resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic void setPricingPlanDataSource(String pricingPlanDataSource)
Specifies the data provider for the tracker resource.
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data will not be shared with the data provider, and will remain in your AWS account or Region
unless you move it.
Valid values: Esri | Here
pricingPlanDataSource - Specifies the data provider for the tracker resource.
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data will not be shared with the data provider, and will remain in your AWS account or
Region unless you move it.
Valid values: Esri | Here
public String getPricingPlanDataSource()
Specifies the data provider for the tracker resource.
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data will not be shared with the data provider, and will remain in your AWS account or Region
unless you move it.
Valid values: Esri | Here
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your
tracker resource. Your data will not be shared with the data provider, and will remain in your AWS
account or Region unless you move it.
Valid values: Esri | Here
public CreateTrackerRequest withPricingPlanDataSource(String pricingPlanDataSource)
Specifies the data provider for the tracker resource.
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data will not be shared with the data provider, and will remain in your AWS account or Region
unless you move it.
Valid values: Esri | Here
pricingPlanDataSource - Specifies the data provider for the tracker resource.
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.
Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker
resource. Your data will not be shared with the data provider, and will remain in your AWS account or
Region unless you move it.
Valid values: Esri | Here
public Map<String,String> getTags()
Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public void setTags(Map<String,String> tags)
Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
tags - Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify,
search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateTrackerRequest withTags(Map<String,String> tags)
Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
tags - Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify,
search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateTrackerRequest addTagsEntry(String key, String value)
public CreateTrackerRequest clearTagsEntries()
public void setTrackerName(String trackerName)
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
trackerName - The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public String getTrackerName()
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public CreateTrackerRequest withTrackerName(String trackerName)
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
trackerName - The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public String toString()
toString in class ObjectObject.toString()public CreateTrackerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.