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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SparkConnectorSource.BuilderadditionalOptions(Map<String,String> additionalOptions)Additional connection options for the connector.SparkConnectorSource.BuilderconnectionName(String connectionName)The name of the connection that is associated with the connector.SparkConnectorSource.BuilderconnectionType(String connectionType)The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.SparkConnectorSource.BuilderconnectorName(String connectorName)The name of a connector that assists with accessing the data store in Glue Studio.SparkConnectorSource.Buildername(String name)The name of the data source.SparkConnectorSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies data schema for the custom spark source.SparkConnectorSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies data schema for the custom spark source.SparkConnectorSource.BuilderoutputSchemas(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
SparkConnectorSource.Builder name(String 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
SparkConnectorSource.Builder connectionName(String 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
SparkConnectorSource.Builder connectorName(String 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
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.
- 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
SparkConnectorSource.Builder additionalOptions(Map<String,String> 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
SparkConnectorSource.Builder outputSchemas(Collection<GlueSchema> 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
SparkConnectorSource.Builder outputSchemas(GlueSchema... 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
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.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)
-
-