Class CfnTrainingDataset.ColumnSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset.ColumnSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrainingDataset.ColumnSchemaProperty>
- Enclosing interface:
CfnTrainingDataset.ColumnSchemaProperty
@Stability(Stable)
public static final class CfnTrainingDataset.ColumnSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrainingDataset.ColumnSchemaProperty>
A builder for
CfnTrainingDataset.ColumnSchemaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnName
(String columnName) Sets the value ofCfnTrainingDataset.ColumnSchemaProperty.getColumnName()
columnTypes
(List<String> columnTypes) Sets the value ofCfnTrainingDataset.ColumnSchemaProperty.getColumnTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
@Stability(Stable) public CfnTrainingDataset.ColumnSchemaProperty.Builder columnName(String columnName) Sets the value ofCfnTrainingDataset.ColumnSchemaProperty.getColumnName()
- Parameters:
columnName
- The name of a column. This parameter is required.- Returns:
this
-
columnTypes
@Stability(Stable) public CfnTrainingDataset.ColumnSchemaProperty.Builder columnTypes(List<String> columnTypes) Sets the value ofCfnTrainingDataset.ColumnSchemaProperty.getColumnTypes()
- Parameters:
columnTypes
- The data type of column. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrainingDataset.ColumnSchemaProperty>
- Returns:
- a new instance of
CfnTrainingDataset.ColumnSchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-