Class CfnDataset.DataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnDataset.DataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.DataSourceProperty>
- Enclosing interface:
- CfnDataset.DataSourceProperty
@Stability(Stable)
public static final class CfnDataset.DataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.DataSourceProperty>
A builder for
CfnDataset.DataSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataLocation(String dataLocation) Sets the value ofCfnDataset.DataSourceProperty.getDataLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataLocation
Sets the value ofCfnDataset.DataSourceProperty.getDataLocation()- Parameters:
dataLocation-CfnDataset.DataSourceProperty.DataLocation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.DataSourceProperty>- Returns:
- a new instance of
CfnDataset.DataSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-