Class PlaceIndex.Builder
java.lang.Object
software.amazon.awscdk.services.location.alpha.PlaceIndex.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PlaceIndex>
- Enclosing class:
PlaceIndex
@Stability(Experimental)
public static final class PlaceIndex.Builder
extends Object
implements software.amazon.jsii.Builder<PlaceIndex>
(experimental) A fluent builder for
PlaceIndex.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static PlaceIndex.BuilderdataSource(DataSource dataSource) (experimental) Data source for the place index.description(String description) (experimental) A description for the place index.intendedUse(IntendedUse intendedUse) (experimental) Intend use for the results of an operation.placeIndexName(String placeIndexName) (experimental) A name for the place index.
-
Method Details
-
create
@Stability(Experimental) public static PlaceIndex.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
PlaceIndex.Builder.
-
dataSource
(experimental) Data source for the place index.Default: DataSource.ESRI
- Parameters:
dataSource- Data source for the place index. This parameter is required.- Returns:
this
-
description
(experimental) A description for the place index.Default: - no description
- Parameters:
description- A description for the place index. This parameter is required.- Returns:
this
-
intendedUse
(experimental) Intend use for the results of an operation.Default: IntendedUse.SINGLE_USE
- Parameters:
intendedUse- Intend use for the results of an operation. This parameter is required.- Returns:
this
-
placeIndexName
(experimental) A name for the place index.Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, periods and underscores.
Default: - A name is automatically generated
- Parameters:
placeIndexName- A name for the place index. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PlaceIndex>- Returns:
- a newly built instance of
PlaceIndex.
-