Interface ConnectorDataSource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConnectorDataSource.Builder,ConnectorDataSource>, SdkBuilder<ConnectorDataSource.Builder,ConnectorDataSource>, SdkPojo
Enclosing class:
ConnectorDataSource

public static interface ConnectorDataSource.Builder extends SdkPojo, CopyableBuilder<ConnectorDataSource.Builder,ConnectorDataSource>
  • Method Details

    • name

      The name of this source node.

      Parameters:
      name - The name of this source node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionType

      ConnectorDataSource.Builder connectionType(String connectionType)

      The connectionType, as provided to the underlying Glue library. This node type supports the following connection types:

      • bigquery

      Parameters:
      connectionType - The connectionType, as provided to the underlying Glue library. This node type supports the following connection types:

      • bigquery

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • data

      A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.

      Parameters:
      data - A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      ConnectorDataSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)

      Specifies the data schema for this source.

      Parameters:
      outputSchemas - Specifies the data schema for this source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      ConnectorDataSource.Builder outputSchemas(GlueSchema... outputSchemas)

      Specifies the data schema for this source.

      Parameters:
      outputSchemas - Specifies the data schema for this source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      ConnectorDataSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)

      Specifies the data schema for this source.

      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: