Class CfnTrainingDataset.GlueDataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset.GlueDataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrainingDataset.GlueDataSourceProperty>
- Enclosing interface:
CfnTrainingDataset.GlueDataSourceProperty
@Stability(Stable)
public static final class CfnTrainingDataset.GlueDataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrainingDataset.GlueDataSourceProperty>
A builder for
CfnTrainingDataset.GlueDataSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getDatabaseName()Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
@Stability(Stable) public CfnTrainingDataset.GlueDataSourceProperty.Builder databaseName(String databaseName) Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getDatabaseName()- Parameters:
databaseName- The Glue database that contains the training data. This parameter is required.- Returns:
this
-
tableName
@Stability(Stable) public CfnTrainingDataset.GlueDataSourceProperty.Builder tableName(String tableName) Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getTableName()- Parameters:
tableName- The Glue table that contains the training data. This parameter is required.- Returns:
this
-
catalogId
@Stability(Stable) public CfnTrainingDataset.GlueDataSourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnTrainingDataset.GlueDataSourceProperty.getCatalogId()- Parameters:
catalogId- The Glue catalog that contains the training data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrainingDataset.GlueDataSourceProperty>- Returns:
- a new instance of
CfnTrainingDataset.GlueDataSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-