Class CfnPlaceIndexPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnPlaceIndexPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaceIndexPropsMixin>
- Enclosing class:
CfnPlaceIndexPropsMixin
@Stability(Stable)
public static final class CfnPlaceIndexPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaceIndexPropsMixin>
A fluent builder for
CfnPlaceIndexPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dataSource(String dataSource) Specifies the geospatial data provider for the new place index.dataSourceConfiguration(CfnPlaceIndexPropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) Specifies the data storage option requesting Places.dataSourceConfiguration(IResolvable 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 CfnPlaceIndexPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPlaceIndexPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPlaceIndexPropsMixin.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
HEREreturns 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:
-
dataSourceConfiguration
@Stability(Stable) public CfnPlaceIndexPropsMixin.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 CfnPlaceIndexPropsMixin.Builder dataSourceConfiguration(CfnPlaceIndexPropsMixin.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:
-
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:
-
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:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaceIndexPropsMixin>- Returns:
- a newly built instance of
CfnPlaceIndexPropsMixin.
-