Interface DataSource.Builder

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

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

    • s3Config

      DataSource.Builder s3Config(S3Config s3Config)

      The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.

      Parameters:
      s3Config - The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Config

      default DataSource.Builder s3Config(Consumer<S3Config.Builder> s3Config)

      The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.

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

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

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