public static interface CreatePlaceIndexRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<CreatePlaceIndexRequest.Builder,CreatePlaceIndexRequest>
| Modifier and Type | Method and Description |
|---|---|
CreatePlaceIndexRequest.Builder |
dataSource(String dataSource)
Specifies the geospatial data provider for the new place index.
|
default CreatePlaceIndexRequest.Builder |
dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)
Specifies the data storage option requesting Places.
|
CreatePlaceIndexRequest.Builder |
dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option requesting Places.
|
CreatePlaceIndexRequest.Builder |
description(String description)
The optional description for the place index resource.
|
CreatePlaceIndexRequest.Builder |
indexName(String indexName)
The name of the place index resource.
|
CreatePlaceIndexRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePlaceIndexRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePlaceIndexRequest.Builder |
pricingPlan(PricingPlan pricingPlan)
Optionally specifies the pricing plan for the place index resource.
|
CreatePlaceIndexRequest.Builder |
pricingPlan(String pricingPlan)
Optionally specifies the pricing plan for the place index resource.
|
CreatePlaceIndexRequest.Builder |
tags(Map<String,String> tags)
Applies one or more tags to the place index resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePlaceIndexRequest.Builder dataSource(String dataSource)
Specifies the geospatial data provider for the new place index.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
returns an error.
Valid values include:
Esri – For additional information about Esri's coverage in your
region of interest, see Esri details on
geocoding coverage.
Here – For additional information about HERE Technologies' coverage
in your region of interest, see HERE details
on goecoding coverage.
If you specify HERE Technologies (Here) as the data provider, you may not store
results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service Developer Guide.
dataSource - Specifies the geospatial data provider for the new place index.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
returns an error.
Valid values include:
Esri – For additional information about Esri's coverage in
your region of interest, see Esri details on
geocoding coverage.
Here – For additional information about HERE Technologies'
coverage in your region of interest, see HERE
details on goecoding coverage.
If you specify HERE Technologies (Here) as the data provider, you may not store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service Developer Guide.
CreatePlaceIndexRequest.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option requesting Places.
dataSourceConfiguration - Specifies the data storage option requesting Places.default CreatePlaceIndexRequest.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)
Specifies the data storage option 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)
Optionally specifies the pricing plan for the place index resource. Defaults to
RequestBasedUsage.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
pricingPlan - Optionally specifies the pricing plan for the place index resource. Defaults to
RequestBasedUsage.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlan,
PricingPlanCreatePlaceIndexRequest.Builder pricingPlan(PricingPlan pricingPlan)
Optionally specifies the pricing plan for the place index resource. Defaults to
RequestBasedUsage.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
pricingPlan - Optionally specifies the pricing plan for the place index resource. Defaults to
RequestBasedUsage.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
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 that helps you manage, identify, search, and filter your resources.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource.
Each tag key must be unique and must have exactly one associated 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 place index resource. A tag is a key-value pair that helps you manage,
identify, search, and filter your resources.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource.
Each tag key must be unique and must have exactly one associated 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.
CreatePlaceIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePlaceIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.