public class CreateGeofenceCollectionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a geofence collection, which manages and stores geofences.
Constructor and Description |
---|
CreateGeofenceCollectionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCollectionName()
A custom name for the geofence collection.
|
java.lang.String |
getDescription()
An optional description for the geofence collection.
|
java.lang.String |
getPricingPlan()
Specifies the pricing plan for your geofence collection.
|
int |
hashCode() |
void |
setCollectionName(java.lang.String collectionName)
A custom name for the geofence collection.
|
void |
setDescription(java.lang.String description)
An optional description for the geofence collection.
|
void |
setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your geofence collection.
|
void |
setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your geofence collection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateGeofenceCollectionRequest |
withCollectionName(java.lang.String collectionName)
A custom name for the geofence collection.
|
CreateGeofenceCollectionRequest |
withDescription(java.lang.String description)
An optional description for the geofence collection.
|
CreateGeofenceCollectionRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your geofence collection.
|
CreateGeofenceCollectionRequest |
withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your geofence collection.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getCollectionName()
A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example, ExampleGeofenceCollection
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example,
ExampleGeofenceCollection
.
public void setCollectionName(java.lang.String collectionName)
A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example, ExampleGeofenceCollection
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
collectionName
- A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example,
ExampleGeofenceCollection
.
public CreateGeofenceCollectionRequest withCollectionName(java.lang.String collectionName)
A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example, ExampleGeofenceCollection
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
collectionName
- A custom name for the geofence collection.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_).
Must be a unique geofence collection name.
No spaces allowed. For example,
ExampleGeofenceCollection
.
public java.lang.String getDescription()
An optional description for the geofence collection.
Constraints:
Length: 0 - 1000
An optional description for the geofence collection.
public void setDescription(java.lang.String description)
An optional description for the geofence collection.
Constraints:
Length: 0 - 1000
description
- An optional description for the geofence collection.
public CreateGeofenceCollectionRequest withDescription(java.lang.String description)
An optional description for the geofence collection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1000
description
- An optional description for the geofence collection.
public java.lang.String getPricingPlan()
Specifies the pricing plan for your geofence collection. 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 geofence collection. 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.
PricingPlan
public void setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your geofence collection. 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 geofence collection. 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.
PricingPlan
public CreateGeofenceCollectionRequest withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your geofence collection. 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 geofence collection. 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.
PricingPlan
public void setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your geofence collection. 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 geofence collection. 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.
PricingPlan
public CreateGeofenceCollectionRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your geofence collection. 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 geofence collection. 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.
PricingPlan
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.