Interface SparkConnectorTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SparkConnectorTarget.Builder,SparkConnectorTarget>,SdkBuilder<SparkConnectorTarget.Builder,SparkConnectorTarget>,SdkPojo
- Enclosing class:
- SparkConnectorTarget
public static interface SparkConnectorTarget.Builder extends SdkPojo, CopyableBuilder<SparkConnectorTarget.Builder,SparkConnectorTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SparkConnectorTarget.BuilderadditionalOptions(Map<String,String> additionalOptions)Additional connection options for the connector.SparkConnectorTarget.BuilderconnectionName(String connectionName)The name of a connection for an Apache Spark connector.SparkConnectorTarget.BuilderconnectionType(String connectionType)The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.SparkConnectorTarget.BuilderconnectorName(String connectorName)The name of an Apache Spark connector.SparkConnectorTarget.Builderinputs(String... inputs)The nodes that are inputs to the data target.SparkConnectorTarget.Builderinputs(Collection<String> inputs)The nodes that are inputs to the data target.SparkConnectorTarget.Buildername(String name)The name of the data target.SparkConnectorTarget.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the custom spark target.SparkConnectorTarget.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the custom spark target.SparkConnectorTarget.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the custom spark target.-
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
SparkConnectorTarget.Builder name(String 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
SparkConnectorTarget.Builder inputs(Collection<String> 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
SparkConnectorTarget.Builder inputs(String... 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
SparkConnectorTarget.Builder connectionName(String 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
SparkConnectorTarget.Builder connectorName(String 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
SparkConnectorTarget.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
SparkConnectorTarget.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
SparkConnectorTarget.Builder outputSchemas(Collection<GlueSchema> 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
SparkConnectorTarget.Builder outputSchemas(GlueSchema... 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
SparkConnectorTarget.Builder outputSchemas(Consumer<GlueSchema.Builder>... 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 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)
-
-