public static interface CreatePlaceIndexRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<CreatePlaceIndexRequest.Builder,CreatePlaceIndexRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePlaceIndexRequest.Builder dataSource(String dataSource)
Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE will
return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
dataSource - Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
CreatePlaceIndexRequest.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
dataSourceConfiguration - Specifies the data storage option for requesting Places.default CreatePlaceIndexRequest.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)
Specifies the data storage option for requesting Places.
This is a convenience that creates an instance of theDataSourceConfiguration.Builder avoiding the
need to create one manually via DataSourceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to dataSourceConfiguration(DataSourceConfiguration).dataSourceConfiguration - a consumer that will call methods on DataSourceConfiguration.BuilderdataSourceConfiguration(DataSourceConfiguration)CreatePlaceIndexRequest.Builder description(String description)
The optional description for the place index resource.
description - The optional description for the place index resource.CreatePlaceIndexRequest.Builder indexName(String indexName)
The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex.
indexName - The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex.
CreatePlaceIndexRequest.Builder pricingPlan(String pricingPlan)
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
pricingPlan - Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan,
PricingPlanCreatePlaceIndexRequest.Builder pricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
pricingPlan - Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan,
PricingPlanCreatePlaceIndexRequest.Builder tags(Map<String,String> tags)
Applies one or more tags to the place index 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: + - = . _ : / @.
tags - Applies one or more tags to the place index 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: + - = . _ : / @.
CreatePlaceIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePlaceIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.