Interface CfnTrainingDataset.DatasetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrainingDataset.DatasetProperty.Jsii$Proxy
- Enclosing class:
CfnTrainingDataset
@Stability(Stable)
public static interface CfnTrainingDataset.DatasetProperty
extends software.amazon.jsii.JsiiSerializable
Defines where the training dataset is located, what type of data it contains, and how to access the data.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanroomsml.*;
DatasetProperty datasetProperty = DatasetProperty.builder()
.inputConfig(DatasetInputConfigProperty.builder()
.dataSource(DataSourceProperty.builder()
.glueDataSource(GlueDataSourceProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
// the properties below are optional
.catalogId("catalogId")
.build())
.build())
.schema(List.of(ColumnSchemaProperty.builder()
.columnName("columnName")
.columnTypes(List.of("columnTypes"))
.build()))
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrainingDataset.DatasetPropertystatic final classAn implementation forCfnTrainingDataset.DatasetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputConfig
A DatasetInputConfig object that defines the data source and schema mapping.Returns union: either
IResolvableorCfnTrainingDataset.DatasetInputConfigProperty- See Also:
-
getType
What type of information is found in the dataset.- See Also:
-
builder
-