Class CfnPlaceIndex.DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.location.CfnPlaceIndex.DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaceIndex.DataSourceConfigurationProperty>
- Enclosing interface:
CfnPlaceIndex.DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnPlaceIndex.DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaceIndex.DataSourceConfigurationProperty>
A builder for
CfnPlaceIndex.DataSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.intendedUse(String intendedUse) Sets the value ofCfnPlaceIndex.DataSourceConfigurationProperty.getIntendedUse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intendedUse
@Stability(Stable) public CfnPlaceIndex.DataSourceConfigurationProperty.Builder intendedUse(String intendedUse) Sets the value ofCfnPlaceIndex.DataSourceConfigurationProperty.getIntendedUse()- Parameters:
intendedUse- Specifies how the results of an operation will be stored by the caller. Valid values include:SingleUsespecifies that the results won't be stored.Storagespecifies that the result can be cached or stored in a database.
Default value:
SingleUse- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaceIndex.DataSourceConfigurationProperty>- Returns:
- a new instance of
CfnPlaceIndex.DataSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-