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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirectJDBCSource.BuilderconnectionName(String connectionName)The connection name of the JDBC source.DirectJDBCSource.BuilderconnectionType(String connectionType)The connection type of the JDBC source.DirectJDBCSource.BuilderconnectionType(JDBCConnectionType connectionType)The connection type of the JDBC source.DirectJDBCSource.Builderdatabase(String database)The database of the JDBC source connection.DirectJDBCSource.Buildername(String name)The name of the JDBC source connection.DirectJDBCSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the direct JDBC source.DirectJDBCSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the direct JDBC source.DirectJDBCSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the direct JDBC source.DirectJDBCSource.BuilderredshiftTmpDir(String redshiftTmpDir)The temp directory of the JDBC Redshift source.DirectJDBCSource.Buildertable(String table)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 Detail
-
name
DirectJDBCSource.Builder name(String 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
DirectJDBCSource.Builder database(String 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
DirectJDBCSource.Builder table(String 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
DirectJDBCSource.Builder connectionName(String 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
DirectJDBCSource.Builder connectionType(String 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:
JDBCConnectionType,JDBCConnectionType
-
connectionType
DirectJDBCSource.Builder connectionType(JDBCConnectionType 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:
JDBCConnectionType,JDBCConnectionType
-
redshiftTmpDir
DirectJDBCSource.Builder redshiftTmpDir(String 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
DirectJDBCSource.Builder outputSchemas(Collection<GlueSchema> 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
DirectJDBCSource.Builder outputSchemas(GlueSchema... 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
DirectJDBCSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the direct JDBC source.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - 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:
#outputSchemas(java.util.Collection)
-
-