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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartReplicationResponse.Builderreplication(Consumer<Replication.Builder> replication)The replication that DMS started.StartReplicationResponse.Builderreplication(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 Detail
-
replication
StartReplicationResponse.Builder replication(Replication 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
default StartReplicationResponse.Builder replication(Consumer<Replication.Builder> replication)
The replication that DMS started.
This is a convenience method that creates an instance of theReplication.Builderavoiding the need to create one manually viaReplication.builder().When the
Consumercompletes,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:
replication(Replication)
-
-