Class CfnPlaceIndex.Builder
java.lang.Object
software.amazon.awscdk.services.location.CfnPlaceIndex.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaceIndex>
- Enclosing class:
CfnPlaceIndex
@Stability(Stable)
public static final class CfnPlaceIndex.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaceIndex>
A fluent builder for
CfnPlaceIndex
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPlaceIndex.Builder
dataSource
(String dataSource) Specifies the geospatial data provider for the new place index.dataSourceConfiguration
(IResolvable dataSourceConfiguration) Specifies the data storage option requesting Places.dataSourceConfiguration
(CfnPlaceIndex.DataSourceConfigurationProperty dataSourceConfiguration) Specifies the data storage option requesting Places.description
(String description) The optional description for the place index resource.The name of the place index resource.pricingPlan
(String pricingPlan) No longer used.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnPlaceIndex.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPlaceIndex.Builder
.
-
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 .Grab
– Grab provides place index functionality for Southeast Asia. For additional information about GrabMaps ' coverage, see GrabMaps countries and areas covered .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 .
- Parameters:
dataSource
- Specifies the geospatial data provider for the new place index. This parameter is required.- Returns:
this
- See Also:
-
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
.
- Parameters:
indexName
- The name of the place index resource. This parameter is required.- Returns:
this
- See Also:
-
dataSourceConfiguration
@Stability(Stable) public CfnPlaceIndex.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration) Specifies the data storage option requesting Places.- Parameters:
dataSourceConfiguration
- Specifies the data storage option requesting Places. This parameter is required.- Returns:
this
- See Also:
-
dataSourceConfiguration
@Stability(Stable) public CfnPlaceIndex.Builder dataSourceConfiguration(CfnPlaceIndex.DataSourceConfigurationProperty dataSourceConfiguration) Specifies the data storage option requesting Places.- Parameters:
dataSourceConfiguration
- Specifies the data storage option requesting Places. This parameter is required.- Returns:
this
- See Also:
-
description
The optional description for the place index resource.- Parameters:
description
- The optional description for the place index resource. This parameter is required.- Returns:
this
- See Also:
-
pricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage
.Allowed Values :
RequestBasedUsage
- Parameters:
pricingPlan
- No longer used. If included, the only allowed value isRequestBasedUsage
. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaceIndex>
- Returns:
- a newly built instance of
CfnPlaceIndex
.
-