Interface DynamoDBCatalogSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DynamoDBCatalogSource.Builder,,DynamoDBCatalogSource> SdkBuilder<DynamoDBCatalogSource.Builder,,DynamoDBCatalogSource> SdkPojo
- Enclosing class:
DynamoDBCatalogSource
@Mutable
@NotThreadSafe
public static interface DynamoDBCatalogSource.Builder
extends SdkPojo, CopyableBuilder<DynamoDBCatalogSource.Builder,DynamoDBCatalogSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DynamoDBCatalogSource.BuilderadditionalOptions(Consumer<DDBELTCatalogAdditionalOptions.Builder> additionalOptions) Specifies additional connection options for the DynamoDB data source.additionalOptions(DDBELTCatalogAdditionalOptions additionalOptions) Specifies additional connection options for the DynamoDB data source.The name of the database to read from.The name of the data source.pitrEnabled(Boolean pitrEnabled) Specifies whether Point-in-Time Recovery (PITR) is enabled for the DynamoDB table.The name of the table in the database to read from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the data source.
- Parameters:
name- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database to read from.
- Parameters:
database- The name of the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
The name of the table in the database to read from.
- Parameters:
table- The name of the table in the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pitrEnabled
Specifies whether Point-in-Time Recovery (PITR) is enabled for the DynamoDB table. When set to
true, allows reading from a specific point in time. The default value isfalse.- Parameters:
pitrEnabled- Specifies whether Point-in-Time Recovery (PITR) is enabled for the DynamoDB table. When set totrue, allows reading from a specific point in time. The default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
Specifies additional connection options for the DynamoDB data source.
- Parameters:
additionalOptions- Specifies additional connection options for the DynamoDB data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
default DynamoDBCatalogSource.Builder additionalOptions(Consumer<DDBELTCatalogAdditionalOptions.Builder> additionalOptions) Specifies additional connection options for the DynamoDB data source.
This is a convenience method that creates an instance of theDDBELTCatalogAdditionalOptions.Builderavoiding the need to create one manually viaDDBELTCatalogAdditionalOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalOptions(DDBELTCatalogAdditionalOptions).- Parameters:
additionalOptions- a consumer that will call methods onDDBELTCatalogAdditionalOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-