Interface ConnectorDataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectorDataSource.Builder,
,ConnectorDataSource> SdkBuilder<ConnectorDataSource.Builder,
,ConnectorDataSource> SdkPojo
- Enclosing class:
ConnectorDataSource
public static interface ConnectorDataSource.Builder
extends SdkPojo, CopyableBuilder<ConnectorDataSource.Builder,ConnectorDataSource>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionType
(String connectionType) TheconnectionType
, as provided to the underlying Glue library.A map specifying connection options for the node.The name of this source node.outputSchemas
(Collection<GlueSchema> outputSchemas) Specifies the data schema for this source.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for this source.outputSchemas
(GlueSchema... outputSchemas) Specifies the data schema for this source.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, sdkFields
-
Method Details
-
name
The name of this source node.
- Parameters:
name
- The name of this source node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionType
The
connectionType
, as provided to the underlying Glue library. This node type supports the following connection types:-
bigquery
- Parameters:
connectionType
- TheconnectionType
, as provided to the underlying Glue library. This node type supports the following connection types:-
bigquery
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
data
A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
- Parameters:
data
- A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for this source.
- Parameters:
outputSchemas
- Specifies the data schema for this source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for this source.
- Parameters:
outputSchemas
- Specifies the data schema for this source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for this 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:
-