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