Interface S3Source.Builder

    • Method Detail

      • dataSourceArn

        S3Source.Builder dataSourceArn​(String dataSourceArn)

        The Amazon Resource Name (ARN) for the data source.

        Parameters:
        dataSourceArn - The Amazon Resource Name (ARN) for the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uploadSettings

        S3Source.Builder uploadSettings​(UploadSettings uploadSettings)

        Information about the format for the S3 source file or files.

        Parameters:
        uploadSettings - Information about the format for the S3 source file or files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputColumns

        S3Source.Builder inputColumns​(Collection<InputColumn> inputColumns)

        A physical table type for an S3 data source.

        For files that aren't JSON, only STRING data types are supported in input columns.

        Parameters:
        inputColumns - A physical table type for an S3 data source.

        For files that aren't JSON, only STRING data types are supported in input columns.

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

        S3Source.Builder inputColumns​(InputColumn... inputColumns)

        A physical table type for an S3 data source.

        For files that aren't JSON, only STRING data types are supported in input columns.

        Parameters:
        inputColumns - A physical table type for an S3 data source.

        For files that aren't JSON, only STRING data types are supported in input columns.

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

        S3Source.Builder inputColumns​(Consumer<InputColumn.Builder>... inputColumns)

        A physical table type for an S3 data source.

        For files that aren't JSON, only STRING data types are supported in input columns.

        This is a convenience method that creates an instance of the InputColumn.Builder avoiding the need to create one manually via InputColumn.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #inputColumns(List).

        Parameters:
        inputColumns - a consumer that will call methods on InputColumn.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #inputColumns(java.util.Collection)