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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3CatalogSource.BuilderadditionalOptions(Consumer<S3SourceAdditionalOptions.Builder> additionalOptions)Specifies additional connection options.S3CatalogSource.BuilderadditionalOptions(S3SourceAdditionalOptions additionalOptions)Specifies additional connection options.S3CatalogSource.Builderdatabase(String database)The database to read from.S3CatalogSource.Buildername(String name)The name of the data store.S3CatalogSource.BuilderpartitionPredicate(String partitionPredicate)Partitions satisfying this predicate are deleted.S3CatalogSource.Buildertable(String table)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 Detail
-
name
S3CatalogSource.Builder name(String 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
S3CatalogSource.Builder table(String 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 theS3SourceAdditionalOptions.Builderavoiding the need to create one manually viaS3SourceAdditionalOptions.builder().When the
Consumercompletes,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:
additionalOptions(S3SourceAdditionalOptions)
-
-