Interface DataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSource.Builder,
,DataSource> SdkBuilder<DataSource.Builder,
,DataSource> SdkPojo
- Enclosing class:
DataSource
@Mutable
@NotThreadSafe
public static interface DataSource.Builder
extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSource.Builder
glueDataSource
(Consumer<GlueDataSource.Builder> glueDataSource) A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.glueDataSource
(GlueDataSource glueDataSource) A GlueDataSource object that defines the catalog ID, database name, and table name 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
-
glueDataSource
A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- Parameters:
glueDataSource
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glueDataSource
A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
This is a convenience method that creates an instance of theGlueDataSource.Builder
avoiding the need to create one manually viaGlueDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglueDataSource(GlueDataSource)
.- Parameters:
glueDataSource
- a consumer that will call methods onGlueDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-