Interface DirectJDBCSource.Builder

  • 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

      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

      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:
    • 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:
    • 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 the GlueSchema.Builder avoiding the need to create one manually via GlueSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputSchemas(List<GlueSchema>).

      Parameters:
      outputSchemas - a consumer that will call methods on GlueSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: