Interface DataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,,DataSource> SdkBuilder<DataSource.Builder,,DataSource> SdkPojo
- Enclosing class:
DataSource
public static interface DataSource.Builder
extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSource.BuilderglueDataSource(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaGlueDataSource.builder().When the
Consumercompletes,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:
-