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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSource.BuilderglueDataSource(Consumer<GlueDataSource.Builder> glueDataSource)A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.DataSource.BuilderglueDataSource(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, sdkFields
-
-
-
-
Method Detail
-
glueDataSource
DataSource.Builder glueDataSource(GlueDataSource 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
default DataSource.Builder glueDataSource(Consumer<GlueDataSource.Builder> 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:
glueDataSource(GlueDataSource)
-
-