Interface JDBCConnectorSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JDBCConnectorSource.Builder,
,JDBCConnectorSource> SdkBuilder<JDBCConnectorSource.Builder,
,JDBCConnectorSource> SdkPojo
- Enclosing class:
JDBCConnectorSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault JDBCConnectorSource.Builder
additionalOptions
(Consumer<JDBCConnectorOptions.Builder> additionalOptions) Additional connection options for the connector.additionalOptions
(JDBCConnectorOptions additionalOptions) Additional connection options for the connector.connectionName
(String connectionName) The name of the connection that is associated with the connector.connectionTable
(String connectionTable) The name of the table in the data source.connectionType
(String connectionType) The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.connectorName
(String connectorName) The name of a connector that assists with accessing the data store in Glue Studio.The name of the data source.outputSchemas
(Collection<GlueSchema> outputSchemas) Specifies the data schema for the custom JDBC source.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for the custom JDBC source.outputSchemas
(GlueSchema... outputSchemas) Specifies the data schema for the custom JDBC source.The table or SQL query to get the data from.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 data source.
- Parameters:
name
- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
The name of the connection that is associated with the connector.
- Parameters:
connectionName
- The name of the connection that is associated with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorName
The name of a connector that assists with accessing the data store in Glue Studio.
- Parameters:
connectorName
- The name of a connector that assists with accessing the data store in Glue Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionType
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
- Parameters:
connectionType
- The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
Additional connection options for the connector.
- Parameters:
additionalOptions
- Additional connection options for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
default JDBCConnectorSource.Builder additionalOptions(Consumer<JDBCConnectorOptions.Builder> additionalOptions) Additional connection options for the connector.
This is a convenience method that creates an instance of theJDBCConnectorOptions.Builder
avoiding the need to create one manually viaJDBCConnectorOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalOptions(JDBCConnectorOptions)
.- Parameters:
additionalOptions
- a consumer that will call methods onJDBCConnectorOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionTable
The name of the table in the data source.
- Parameters:
connectionTable
- The name of the table in the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
query
The table or SQL query to get the data from. You can specify either
ConnectionTable
orquery
, but not both.- Parameters:
query
- The table or SQL query to get the data from. You can specify eitherConnectionTable
orquery
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom JDBC source.
- Parameters:
outputSchemas
- Specifies the data schema for the custom JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom JDBC source.
- Parameters:
outputSchemas
- Specifies the data schema for the custom JDBC source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom 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:
-