Class CfnPlaceIndexMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnPlaceIndexMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaceIndexMixinProps>
- Enclosing interface:
CfnPlaceIndexMixinProps
@Stability(Stable)
public static final class CfnPlaceIndexMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaceIndexMixinProps>
A builder for
CfnPlaceIndexMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSource(String dataSource) Sets the value ofCfnPlaceIndexMixinProps.getDataSource()dataSourceConfiguration(CfnPlaceIndexPropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) Sets the value ofCfnPlaceIndexMixinProps.getDataSourceConfiguration()dataSourceConfiguration(IResolvable dataSourceConfiguration) Sets the value ofCfnPlaceIndexMixinProps.getDataSourceConfiguration()description(String description) Sets the value ofCfnPlaceIndexMixinProps.getDescription()Sets the value ofCfnPlaceIndexMixinProps.getIndexName()pricingPlan(String pricingPlan) Sets the value ofCfnPlaceIndexMixinProps.getPricingPlan()Sets the value ofCfnPlaceIndexMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSource
Sets the value ofCfnPlaceIndexMixinProps.getDataSource()- Parameters:
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 .
- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnPlaceIndexMixinProps.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration) Sets the value ofCfnPlaceIndexMixinProps.getDataSourceConfiguration()- Parameters:
dataSourceConfiguration- Specifies the data storage option requesting Places.- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnPlaceIndexMixinProps.Builder dataSourceConfiguration(CfnPlaceIndexPropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) Sets the value ofCfnPlaceIndexMixinProps.getDataSourceConfiguration()- Parameters:
dataSourceConfiguration- Specifies the data storage option requesting Places.- Returns:
this
-
description
Sets the value ofCfnPlaceIndexMixinProps.getDescription()- Parameters:
description- The optional description for the place index resource.- Returns:
this
-
indexName
Sets the value ofCfnPlaceIndexMixinProps.getIndexName()- Parameters:
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.
- Returns:
this
-
pricingPlan
Sets the value ofCfnPlaceIndexMixinProps.getPricingPlan()- Parameters:
pricingPlan- No longer used. If included, the only allowed value isRequestBasedUsage. Allowed Values :RequestBasedUsage- Returns:
this
-
tags
Sets the value ofCfnPlaceIndexMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaceIndexMixinProps>- Returns:
- a new instance of
CfnPlaceIndexMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-