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 Summary
Modifier and TypeMethodDescriptiondefault S3CatalogSource.Builder
additionalOptions
(Consumer<S3SourceAdditionalOptions.Builder> additionalOptions) Specifies additional connection options.additionalOptions
(S3SourceAdditionalOptions additionalOptions) Specifies additional connection options.The database to read from.The name of the data store.partitionPredicate
(String partitionPredicate) Partitions satisfying this predicate are deleted.The database table to read from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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 theS3SourceAdditionalOptions.Builder
avoiding the need to create one manually viaS3SourceAdditionalOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalOptions(S3SourceAdditionalOptions)
.- Parameters:
additionalOptions
- a consumer that will call methods onS3SourceAdditionalOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-