Interface StartReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartReplicationResponse.Builder,
,StartReplicationResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<StartReplicationResponse.Builder,
,StartReplicationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartReplicationResponse
@Mutable
@NotThreadSafe
public static interface StartReplicationResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<StartReplicationResponse.Builder,StartReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartReplicationResponse.Builder
replication
(Consumer<Replication.Builder> replication) The replication that DMS started.replication
(Replication replication) The replication that DMS started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replication
The replication that DMS started.
- Parameters:
replication
- The replication that DMS started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replication
The replication that DMS started.
This is a convenience method that creates an instance of theReplication.Builder
avoiding the need to create one manually viaReplication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplication(Replication)
.- Parameters:
replication
- a consumer that will call methods onReplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-