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 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

      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 the GlueSchema.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<GlueSchema>).

      Parameters:
      outputSchemas - a consumer that will call methods on GlueSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: