Interface StopReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StopReplicationResponse.Builder,
,StopReplicationResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<StopReplicationResponse.Builder,
,StopReplicationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StopReplicationResponse
public static interface StopReplicationResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<StopReplicationResponse.Builder,StopReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StopReplicationResponse.Builder
replication
(Consumer<Replication.Builder> replication) The replication that DMS stopped.replication
(Replication replication) The replication that DMS stopped.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replication
The replication that DMS stopped.
- Parameters:
replication
- The replication that DMS stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replication
The replication that DMS stopped.
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:
-