public static interface ConnectorDataSource.Builder extends SdkPojo, CopyableBuilder<ConnectorDataSource.Builder,ConnectorDataSource>
| Modifier and Type | Method and Description |
|---|---|
ConnectorDataSource.Builder |
connectionType(String connectionType)
The
connectionType, as provided to the underlying Glue library. |
ConnectorDataSource.Builder |
data(Map<String,String> data)
A map specifying connection options for the node.
|
ConnectorDataSource.Builder |
name(String name)
The name of this source node.
|
ConnectorDataSource.Builder |
outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
|
ConnectorDataSource.Builder |
outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for this source.
|
ConnectorDataSource.Builder |
outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for this source.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConnectorDataSource.Builder name(String name)
The name of this source node.
name - The name of this source node.ConnectorDataSource.Builder connectionType(String connectionType)
The connectionType, as provided to the underlying Glue library. This node type supports the
following connection types:
bigquery
connectionType - The connectionType, as provided to the underlying Glue library. This node type supports
the following connection types:
bigquery
ConnectorDataSource.Builder data(Map<String,String> 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.
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.ConnectorDataSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
outputSchemas - Specifies the data schema for this source.ConnectorDataSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for this source.
outputSchemas - Specifies the data schema for this source.ConnectorDataSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... 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 via GlueSchema.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #outputSchemas(List.
outputSchemas - a consumer that will call methods on
GlueSchema.Builder#outputSchemas(java.util.Collection) Copyright © 2023. All rights reserved.