Interface JDBCConnectorSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JDBCConnectorSource.Builder,JDBCConnectorSource>,SdkBuilder<JDBCConnectorSource.Builder,JDBCConnectorSource>,SdkPojo
- Enclosing class:
- JDBCConnectorSource
public static interface JDBCConnectorSource.Builder extends SdkPojo, CopyableBuilder<JDBCConnectorSource.Builder,JDBCConnectorSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JDBCConnectorSource.BuilderadditionalOptions(Consumer<JDBCConnectorOptions.Builder> additionalOptions)Additional connection options for the connector.JDBCConnectorSource.BuilderadditionalOptions(JDBCConnectorOptions additionalOptions)Additional connection options for the connector.JDBCConnectorSource.BuilderconnectionName(String connectionName)The name of the connection that is associated with the connector.JDBCConnectorSource.BuilderconnectionTable(String connectionTable)The name of the table in the data source.JDBCConnectorSource.BuilderconnectionType(String connectionType)The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.JDBCConnectorSource.BuilderconnectorName(String connectorName)The name of a connector that assists with accessing the data store in Glue Studio.JDBCConnectorSource.Buildername(String name)The name of the data source.JDBCConnectorSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the custom JDBC source.JDBCConnectorSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the custom JDBC source.JDBCConnectorSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the custom JDBC source.JDBCConnectorSource.Builderquery(String query)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 Detail
-
name
JDBCConnectorSource.Builder name(String 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
JDBCConnectorSource.Builder connectionName(String 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
JDBCConnectorSource.Builder connectorName(String 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
JDBCConnectorSource.Builder connectionType(String 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
JDBCConnectorSource.Builder additionalOptions(JDBCConnectorOptions 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.Builderavoiding the need to create one manually viaJDBCConnectorOptions.builder().When the
Consumercompletes,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:
additionalOptions(JDBCConnectorOptions)
-
connectionTable
JDBCConnectorSource.Builder connectionTable(String 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
JDBCConnectorSource.Builder query(String query)
The table or SQL query to get the data from. You can specify either
ConnectionTableorquery, but not both.- Parameters:
query- The table or SQL query to get the data from. You can specify eitherConnectionTableorquery, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
JDBCConnectorSource.Builder outputSchemas(Collection<GlueSchema> 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
JDBCConnectorSource.Builder outputSchemas(GlueSchema... 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
JDBCConnectorSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the custom 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)
-
-