Class CfnTrainingDataset.DataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset.DataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrainingDataset.DataSourceProperty>
- Enclosing interface:
CfnTrainingDataset.DataSourceProperty
@Stability(Stable)
public static final class CfnTrainingDataset.DataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrainingDataset.DataSourceProperty>
A builder for
CfnTrainingDataset.DataSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.glueDataSource
(IResolvable glueDataSource) Sets the value ofCfnTrainingDataset.DataSourceProperty.getGlueDataSource()
glueDataSource
(CfnTrainingDataset.GlueDataSourceProperty glueDataSource) Sets the value ofCfnTrainingDataset.DataSourceProperty.getGlueDataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
glueDataSource
@Stability(Stable) public CfnTrainingDataset.DataSourceProperty.Builder glueDataSource(IResolvable glueDataSource) Sets the value ofCfnTrainingDataset.DataSourceProperty.getGlueDataSource()
- Parameters:
glueDataSource
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data. This parameter is required.- Returns:
this
-
glueDataSource
@Stability(Stable) public CfnTrainingDataset.DataSourceProperty.Builder glueDataSource(CfnTrainingDataset.GlueDataSourceProperty glueDataSource) Sets the value ofCfnTrainingDataset.DataSourceProperty.getGlueDataSource()
- Parameters:
glueDataSource
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrainingDataset.DataSourceProperty>
- Returns:
- a new instance of
CfnTrainingDataset.DataSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-