Class PlaceIndexReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.location.PlaceIndexReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PlaceIndexReference>
- Enclosing interface:
PlaceIndexReference
@Stability(Stable)
public static final class PlaceIndexReference.Builder
extends Object
implements software.amazon.jsii.Builder<PlaceIndexReference>
A builder for
PlaceIndexReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofPlaceIndexReference.getIndexName()placeIndexArn(String placeIndexArn) Sets the value ofPlaceIndexReference.getPlaceIndexArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indexName
Sets the value ofPlaceIndexReference.getIndexName()- Parameters:
indexName- The IndexName of the PlaceIndex resource. This parameter is required.- Returns:
this
-
placeIndexArn
Sets the value ofPlaceIndexReference.getPlaceIndexArn()- Parameters:
placeIndexArn- The ARN of the PlaceIndex resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PlaceIndexReference>- Returns:
- a new instance of
PlaceIndexReference - Throws:
NullPointerException- if any required attribute was not provided
-