Interface S3CatalogSource.Builder

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

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

    • name

      The name of the data store.

      Parameters:
      name - The name of the data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      S3CatalogSource.Builder database(String database)

      The database to read from.

      Parameters:
      database - The database to read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • table

      The database table to read from.

      Parameters:
      table - The database table to read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionPredicate

      S3CatalogSource.Builder partitionPredicate(String partitionPredicate)

      Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted. Set to "" – empty by default.

      Parameters:
      partitionPredicate - Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted. Set to "" – empty by default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOptions

      S3CatalogSource.Builder additionalOptions(S3SourceAdditionalOptions additionalOptions)

      Specifies additional connection options.

      Parameters:
      additionalOptions - Specifies additional connection options.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOptions

      default S3CatalogSource.Builder additionalOptions(Consumer<S3SourceAdditionalOptions.Builder> additionalOptions)

      Specifies additional connection options.

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

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

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