Interface DirectJDBCSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectJDBCSource.Builder,
,DirectJDBCSource> SdkBuilder<DirectJDBCSource.Builder,
,DirectJDBCSource> SdkPojo
- Enclosing class:
DirectJDBCSource
@Mutable
@NotThreadSafe
public static interface DirectJDBCSource.Builder
extends SdkPojo, CopyableBuilder<DirectJDBCSource.Builder,DirectJDBCSource>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionName
(String connectionName) The connection name of the JDBC source.connectionType
(String connectionType) The connection type of the JDBC source.connectionType
(JDBCConnectionType connectionType) The connection type of the JDBC source.The database of the JDBC source connection.The name of the JDBC source connection.outputSchemas
(Collection<GlueSchema> outputSchemas) Specifies the data schema for the direct JDBC source.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for the direct JDBC source.outputSchemas
(GlueSchema... outputSchemas) Specifies the data schema for the direct JDBC source.redshiftTmpDir
(String redshiftTmpDir) The temp directory of the JDBC Redshift source.The table of the JDBC source connection.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
-
name
The name of the JDBC source connection.
- Parameters:
name
- The name of the JDBC source connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The database of the JDBC source connection.
- Parameters:
database
- The database of the JDBC source connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
The table of the JDBC source connection.
- Parameters:
table
- The table of the JDBC source connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
The connection name of the JDBC source.
- Parameters:
connectionName
- The connection name of the JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionType
The connection type of the JDBC source.
- Parameters:
connectionType
- The connection type of the JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionType
The connection type of the JDBC source.
- Parameters:
connectionType
- The connection type of the JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftTmpDir
The temp directory of the JDBC Redshift source.
- Parameters:
redshiftTmpDir
- The temp directory of the JDBC Redshift source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the direct JDBC source.
- Parameters:
outputSchemas
- Specifies the data schema for the direct JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the direct JDBC source.
- Parameters:
outputSchemas
- Specifies the data schema for the direct JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the direct JDBC source.
This is a convenience method that creates an instance of theGlueSchema.Builder
avoiding the need to create one manually viaGlueSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSchemas(List<GlueSchema>)
.- Parameters:
outputSchemas
- a consumer that will call methods onGlueSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-