Class PlaceIndexProps.Builder
java.lang.Object
software.amazon.awscdk.services.location.alpha.PlaceIndexProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PlaceIndexProps>
- Enclosing interface:
PlaceIndexProps
@Stability(Experimental)
public static final class PlaceIndexProps.Builder
extends Object
implements software.amazon.jsii.Builder<PlaceIndexProps>
A builder for
PlaceIndexProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSource(DataSource dataSource) Sets the value ofPlaceIndexProps.getDataSource()description(String description) Sets the value ofPlaceIndexProps.getDescription()intendedUse(IntendedUse intendedUse) Sets the value ofPlaceIndexProps.getIntendedUse()placeIndexName(String placeIndexName) Sets the value ofPlaceIndexProps.getPlaceIndexName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSource
Sets the value ofPlaceIndexProps.getDataSource()- Parameters:
dataSource- Data source for the place index.- Returns:
this
-
description
Sets the value ofPlaceIndexProps.getDescription()- Parameters:
description- A description for the place index.- Returns:
this
-
intendedUse
Sets the value ofPlaceIndexProps.getIntendedUse()- Parameters:
intendedUse- Intend use for the results of an operation.- Returns:
this
-
placeIndexName
Sets the value ofPlaceIndexProps.getPlaceIndexName()- Parameters:
placeIndexName- A name for the place index. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, periods and underscores.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PlaceIndexProps>- Returns:
- a new instance of
PlaceIndexProps - Throws:
NullPointerException- if any required attribute was not provided
-