public class CreatePlaceIndexRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
Constructor and Description |
---|
CreatePlaceIndexRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataSource()
Specifies the data provider of geospatial data.
|
DataSourceConfiguration |
getDataSourceConfiguration()
Specifies the data storage option for requesting Places.
|
java.lang.String |
getDescription()
The optional description for the Place index resource.
|
java.lang.String |
getIndexName()
The name of the Place index resource.
|
java.lang.String |
getPricingPlan()
Specifies the pricing plan for your Place index resource.
|
int |
hashCode() |
void |
setDataSource(java.lang.String dataSource)
Specifies the data provider of geospatial data.
|
void |
setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
|
void |
setDescription(java.lang.String description)
The optional description for the Place index resource.
|
void |
setIndexName(java.lang.String indexName)
The name of the Place index resource.
|
void |
setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your Place index resource.
|
void |
setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your Place index resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePlaceIndexRequest |
withDataSource(java.lang.String dataSource)
Specifies the data provider of geospatial data.
|
CreatePlaceIndexRequest |
withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
|
CreatePlaceIndexRequest |
withDescription(java.lang.String description)
The optional description for the Place index resource.
|
CreatePlaceIndexRequest |
withIndexName(java.lang.String indexName)
The name of the Place index resource.
|
CreatePlaceIndexRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your Place index resource.
|
CreatePlaceIndexRequest |
withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your Place index resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getDataSource()
Specifies the data provider of geospatial data.
Specifies the data provider of geospatial data.
public void setDataSource(java.lang.String dataSource)
Specifies the data provider of geospatial data.
dataSource
- Specifies the data provider of geospatial data.
public CreatePlaceIndexRequest withDataSource(java.lang.String dataSource)
Specifies the data provider of geospatial data.
Returns a reference to this object so that method calls can be chained together.
dataSource
- Specifies the data provider of geospatial data.
public DataSourceConfiguration getDataSourceConfiguration()
Specifies the data storage option for requesting Places.
Specifies the data storage option for requesting Places.
public void setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
dataSourceConfiguration
- Specifies the data storage option for requesting Places.
public CreatePlaceIndexRequest withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
Returns a reference to this object so that method calls can be chained together.
dataSourceConfiguration
- Specifies the data storage option for requesting Places.
public java.lang.String getDescription()
The optional description for the Place index resource.
Constraints:
Length: 0 - 1000
The optional description for the Place index resource.
public void setDescription(java.lang.String description)
The optional description for the Place index resource.
Constraints:
Length: 0 - 1000
description
- The optional description for the Place index resource.
public CreatePlaceIndexRequest withDescription(java.lang.String description)
The optional description for the Place index resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1000
description
- The optional description for the Place index resource.
public java.lang.String getIndexName()
The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public void setIndexName(java.lang.String indexName)
The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
indexName
- The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public CreatePlaceIndexRequest withIndexName(java.lang.String indexName)
The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
indexName
- The name of the Place index resource.
Requirements:
Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_) ).
Must be a unique Place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public java.lang.String getPricingPlan()
Specifies the pricing plan for your Place index 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 Place index 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.
PricingPlan
public void setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your Place index 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 Place index 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.
PricingPlan
public CreatePlaceIndexRequest withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your Place index 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 Place index 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.
PricingPlan
public void setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your Place index 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 Place index 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.
PricingPlan
public CreatePlaceIndexRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your Place index 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 Place index 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.
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.