public static interface SparkConnectorSource.Builder extends SdkPojo, CopyableBuilder<SparkConnectorSource.Builder,SparkConnectorSource>
| Modifier and Type | Method and Description |
|---|---|
SparkConnectorSource.Builder |
additionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
|
SparkConnectorSource.Builder |
connectionName(String connectionName)
The name of the connection that is associated with the connector.
|
SparkConnectorSource.Builder |
connectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache
Spark data store.
|
SparkConnectorSource.Builder |
connectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
|
SparkConnectorSource.Builder |
name(String name)
The name of the data source.
|
SparkConnectorSource.Builder |
outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies data schema for the custom spark source.
|
SparkConnectorSource.Builder |
outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies data schema for the custom spark source.
|
SparkConnectorSource.Builder |
outputSchemas(GlueSchema... outputSchemas)
Specifies data schema for the custom spark source.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSparkConnectorSource.Builder name(String name)
The name of the data source.
name - The name of the data source.SparkConnectorSource.Builder connectionName(String connectionName)
The name of the connection that is associated with the connector.
connectionName - The name of the connection that is associated with the connector.SparkConnectorSource.Builder connectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
connectorName - The name of a connector that assists with accessing the data store in Glue Studio.SparkConnectorSource.Builder connectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
connectionType - The type of connection, such as marketplace.spark or custom.spark, designating a connection to an
Apache Spark data store.SparkConnectorSource.Builder additionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
additionalOptions - Additional connection options for the connector.SparkConnectorSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies data schema for the custom spark source.
outputSchemas - Specifies data schema for the custom spark source.SparkConnectorSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies data schema for the custom spark source.
outputSchemas - Specifies data schema for the custom spark source.SparkConnectorSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... 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 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.