Interface DatabaseCDC.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatabaseCDC.Builder,,DatabaseCDC> SdkBuilder<DatabaseCDC.Builder,,DatabaseCDC> SdkPojo
- Enclosing class:
DatabaseCDC
public static interface DatabaseCDC.Builder
extends SdkPojo, CopyableBuilder<DatabaseCDC.Builder,DatabaseCDC>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatabaseCDC.BuildersourceMetadata(Consumer<SourceDatabaseMetadata.Builder> sourceMetadata) The source metadata of the database CDC.sourceMetadata(SourceDatabaseMetadata sourceMetadata) The source metadata of the database CDC.default DatabaseCDC.BuildertargetMetadata(Consumer<TargetDatabaseMetadata.Builder> targetMetadata) The target metadata of the database CDC.targetMetadata(TargetDatabaseMetadata targetMetadata) The target metadata of the database CDC.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, sdkFields
-
Method Details
-
sourceMetadata
The source metadata of the database CDC.
- Parameters:
sourceMetadata- The source metadata of the database CDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMetadata
The source metadata of the database CDC.
This is a convenience method that creates an instance of theSourceDatabaseMetadata.Builderavoiding the need to create one manually viaSourceDatabaseMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceMetadata(SourceDatabaseMetadata).- Parameters:
sourceMetadata- a consumer that will call methods onSourceDatabaseMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetMetadata
The target metadata of the database CDC.
- Parameters:
targetMetadata- The target metadata of the database CDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMetadata
The target metadata of the database CDC.
This is a convenience method that creates an instance of theTargetDatabaseMetadata.Builderavoiding the need to create one manually viaTargetDatabaseMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetMetadata(TargetDatabaseMetadata).- Parameters:
targetMetadata- a consumer that will call methods onTargetDatabaseMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-