Interface SparkConnectorSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SparkConnectorSource.Builder,
,SparkConnectorSource> SdkBuilder<SparkConnectorSource.Builder,
,SparkConnectorSource> SdkPojo
- Enclosing class:
SparkConnectorSource
public static interface SparkConnectorSource.Builder
extends SdkPojo, CopyableBuilder<SparkConnectorSource.Builder,SparkConnectorSource>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalOptions
(Map<String, String> additionalOptions) Additional connection options for the connector.connectionName
(String connectionName) The name of the connection that is associated with the connector.connectionType
(String connectionType) The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark 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 data schema for the custom spark source.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies data schema for the custom spark source.outputSchemas
(GlueSchema... outputSchemas) Specifies data schema for the custom spark 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 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.spark or custom.spark, designating a connection to an Apache Spark data store.
- Parameters:
connectionType
- The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark 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.
-
outputSchemas
Specifies data schema for the custom spark source.
- Parameters:
outputSchemas
- Specifies data schema for the custom spark source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies data schema for the custom spark source.
- Parameters:
outputSchemas
- Specifies data schema for the custom spark source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies data schema for the custom spark 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:
-