public class CreateTrackerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
| Constructor and Description |
|---|
CreateTrackerRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
An optional description for the tracker resource.
|
java.lang.String |
getPricingPlan()
Specifies the pricing plan for your tracker resource.
|
java.lang.String |
getTrackerName()
The name for the tracker resource.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
An optional description for the tracker resource.
|
void |
setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your tracker resource.
|
void |
setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your tracker resource.
|
void |
setTrackerName(java.lang.String trackerName)
The name for the tracker resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrackerRequest |
withDescription(java.lang.String description)
An optional description for the tracker resource.
|
CreateTrackerRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your tracker resource.
|
CreateTrackerRequest |
withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your tracker resource.
|
CreateTrackerRequest |
withTrackerName(java.lang.String trackerName)
The name for the tracker resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getDescription()
An optional description for the tracker resource.
Constraints:
Length: 0 - 1000
An optional description for the tracker resource.
public void setDescription(java.lang.String description)
An optional description for the tracker resource.
Constraints:
Length: 0 - 1000
description - An optional description for the tracker resource.
public CreateTrackerRequest withDescription(java.lang.String description)
An optional description for the tracker resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1000
description - An optional description for the tracker resource.
public java.lang.String getPricingPlan()
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking — Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking — Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlanpublic void setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking — Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan - Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking — Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlanpublic CreateTrackerRequest withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking — Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan - Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking — Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlanpublic void setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking — Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan - Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking — Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlanpublic CreateTrackerRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking — Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan - Specifies the pricing plan for your tracker resource. There's three pricing plan options:
RequestBasedUsage — Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking — Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement — Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlanpublic java.lang.String getTrackerName()
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public void setTrackerName(java.lang.String trackerName)
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName - The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public CreateTrackerRequest withTrackerName(java.lang.String trackerName)
The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName - The name for the tracker resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_).
Must be a unique tracker resource name.
No spaces allowed. For example, ExampleTracker.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.