Interface GovernedCatalogSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GovernedCatalogSource.Builder,GovernedCatalogSource>,SdkBuilder<GovernedCatalogSource.Builder,GovernedCatalogSource>,SdkPojo
- Enclosing class:
- GovernedCatalogSource
public static interface GovernedCatalogSource.Builder extends SdkPojo, CopyableBuilder<GovernedCatalogSource.Builder,GovernedCatalogSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GovernedCatalogSource.BuilderadditionalOptions(Consumer<S3SourceAdditionalOptions.Builder> additionalOptions)Specifies additional connection options.GovernedCatalogSource.BuilderadditionalOptions(S3SourceAdditionalOptions additionalOptions)Specifies additional connection options.GovernedCatalogSource.Builderdatabase(String database)The database to read from.GovernedCatalogSource.Buildername(String name)The name of the data store.GovernedCatalogSource.BuilderpartitionPredicate(String partitionPredicate)Partitions satisfying this predicate are deleted.GovernedCatalogSource.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
GovernedCatalogSource.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
GovernedCatalogSource.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
GovernedCatalogSource.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
GovernedCatalogSource.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
GovernedCatalogSource.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 GovernedCatalogSource.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)
-
-