Interface DatasetInputConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetInputConfig.Builder,
,DatasetInputConfig> SdkBuilder<DatasetInputConfig.Builder,
,DatasetInputConfig> SdkPojo
- Enclosing class:
DatasetInputConfig
@Mutable
@NotThreadSafe
public static interface DatasetInputConfig.Builder
extends SdkPojo, CopyableBuilder<DatasetInputConfig.Builder,DatasetInputConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetInputConfig.Builder
dataSource
(Consumer<DataSource.Builder> dataSource) A DataSource object that specifies the Glue data source for the training data.dataSource
(DataSource dataSource) A DataSource object that specifies the Glue data source for the training data.schema
(Collection<ColumnSchema> schema) The schema information for the training data.schema
(Consumer<ColumnSchema.Builder>... schema) The schema information for the training data.schema
(ColumnSchema... schema) The schema information for the training data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
schema
The schema information for the training data.
- Parameters:
schema
- The schema information for the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema information for the training data.
- Parameters:
schema
- The schema information for the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema information for the training data.
This is a convenience method that creates an instance of theColumnSchema.Builder
avoiding the need to create one manually viaColumnSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschema(List<ColumnSchema>)
.- Parameters:
schema
- a consumer that will call methods onColumnSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSource
A DataSource object that specifies the Glue data source for the training data.
- Parameters:
dataSource
- A DataSource object that specifies the Glue data source for the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
A DataSource object that specifies the Glue data source for the training data.
This is a convenience method that creates an instance of theDataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSource(DataSource)
.- Parameters:
dataSource
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-