Interface S3Source.Builder

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

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

    • 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.
    • uploadSettings

      default S3Source.Builder uploadSettings(Consumer<UploadSettings.Builder> uploadSettings)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to uploadSettings(UploadSettings).

      Parameters:
      uploadSettings - a consumer that will call methods on UploadSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<InputColumn>).

      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: