Interface DatabaseOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatabaseOutput.Builder,DatabaseOutput>,SdkBuilder<DatabaseOutput.Builder,DatabaseOutput>,SdkPojo
- Enclosing class:
- DatabaseOutput
public static interface DatabaseOutput.Builder extends SdkPojo, CopyableBuilder<DatabaseOutput.Builder,DatabaseOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DatabaseOutput.BuilderdatabaseOptions(Consumer<DatabaseTableOutputOptions.Builder> databaseOptions)Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.DatabaseOutput.BuilderdatabaseOptions(DatabaseTableOutputOptions databaseOptions)Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.DatabaseOutput.BuilderdatabaseOutputMode(String databaseOutputMode)The output mode to write into the database.DatabaseOutput.BuilderdatabaseOutputMode(DatabaseOutputMode databaseOutputMode)The output mode to write into the database.DatabaseOutput.BuilderglueConnectionName(String glueConnectionName)The Glue connection that stores the connection information for the target database.-
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
-
glueConnectionName
DatabaseOutput.Builder glueConnectionName(String glueConnectionName)
The Glue connection that stores the connection information for the target database.
- Parameters:
glueConnectionName- The Glue connection that stores the connection information for the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOptions
DatabaseOutput.Builder databaseOptions(DatabaseTableOutputOptions databaseOptions)
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
- Parameters:
databaseOptions- Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOptions
default DatabaseOutput.Builder databaseOptions(Consumer<DatabaseTableOutputOptions.Builder> databaseOptions)
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
This is a convenience method that creates an instance of theDatabaseTableOutputOptions.Builderavoiding the need to create one manually viaDatabaseTableOutputOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseOptions(DatabaseTableOutputOptions).- Parameters:
databaseOptions- a consumer that will call methods onDatabaseTableOutputOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
databaseOptions(DatabaseTableOutputOptions)
-
databaseOutputMode
DatabaseOutput.Builder databaseOutputMode(String databaseOutputMode)
The output mode to write into the database. Currently supported option: NEW_TABLE.
- Parameters:
databaseOutputMode- The output mode to write into the database. Currently supported option: NEW_TABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatabaseOutputMode,DatabaseOutputMode
-
databaseOutputMode
DatabaseOutput.Builder databaseOutputMode(DatabaseOutputMode databaseOutputMode)
The output mode to write into the database. Currently supported option: NEW_TABLE.
- Parameters:
databaseOutputMode- The output mode to write into the database. Currently supported option: NEW_TABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatabaseOutputMode,DatabaseOutputMode
-
-