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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorDataSource.BuilderconnectionType(String connectionType)TheconnectionType, as provided to the underlying Glue library.ConnectorDataSource.Builderdata(Map<String,String> data)A map specifying connection options for the node.ConnectorDataSource.Buildername(String name)The name of this source node.ConnectorDataSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for this source.ConnectorDataSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for this source.ConnectorDataSource.BuilderoutputSchemas(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 Detail
-
name
ConnectorDataSource.Builder name(String 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
ConnectorDataSource.Builder connectionType(String 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
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.
- 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
ConnectorDataSource.Builder outputSchemas(Collection<GlueSchema> 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
ConnectorDataSource.Builder outputSchemas(GlueSchema... 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
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.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)
-
-