Interface SparkConnectorTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SparkConnectorTarget.Builder,,SparkConnectorTarget> SdkBuilder<SparkConnectorTarget.Builder,,SparkConnectorTarget> SdkPojo
- Enclosing class:
SparkConnectorTarget
@Mutable
@NotThreadSafe
public static interface SparkConnectorTarget.Builder
extends SdkPojo, CopyableBuilder<SparkConnectorTarget.Builder,SparkConnectorTarget>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalOptions(Map<String, String> additionalOptions) Additional connection options for the connector.connectionName(String connectionName) The name of a connection for an Apache Spark 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 an Apache Spark connector.The nodes that are inputs to the data target.inputs(Collection<String> inputs) The nodes that are inputs to the data target.The name of the data target.outputSchemas(Collection<GlueSchema> outputSchemas) Specifies the data schema for the custom spark target.outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for the custom spark target.outputSchemas(GlueSchema... outputSchemas) Specifies the data schema for the custom spark target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the data target.
- Parameters:
name- The name of the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
The name of a connection for an Apache Spark connector.
- Parameters:
connectionName- The name of a connection for an Apache Spark connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorName
The name of an Apache Spark connector.
- Parameters:
connectorName- The name of an Apache Spark connector.- 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 the data schema for the custom spark target.
- Parameters:
outputSchemas- Specifies the data schema for the custom spark target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom spark target.
- Parameters:
outputSchemas- Specifies the data schema for the custom spark target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom spark target.
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 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:
-