Interface DatabaseCDC.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatabaseCDC.Builder,
,DatabaseCDC> SdkBuilder<DatabaseCDC.Builder,
,DatabaseCDC> SdkPojo
- Enclosing class:
DatabaseCDC
@Mutable
@NotThreadSafe
public static interface DatabaseCDC.Builder
extends SdkPojo, CopyableBuilder<DatabaseCDC.Builder,DatabaseCDC>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatabaseCDC.Builder
sourceMetadata
(Consumer<SourceDatabaseMetadata.Builder> sourceMetadata) The source metadata of the database CDC.sourceMetadata
(SourceDatabaseMetadata sourceMetadata) The source metadata of the database CDC.default DatabaseCDC.Builder
targetMetadata
(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
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 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.Builder
avoiding the need to create one manually viaSourceDatabaseMetadata.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTargetDatabaseMetadata.builder()
.When the
Consumer
completes,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:
-