Interface StartReplicationTaskAssessmentRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartReplicationTaskAssessmentRunResponse.Builder,,StartReplicationTaskAssessmentRunResponse> DatabaseMigrationResponse.Builder,SdkBuilder<StartReplicationTaskAssessmentRunResponse.Builder,,StartReplicationTaskAssessmentRunResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartReplicationTaskAssessmentRunResponse
public static interface StartReplicationTaskAssessmentRunResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<StartReplicationTaskAssessmentRunResponse.Builder,StartReplicationTaskAssessmentRunResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationTaskAssessmentRun(Consumer<ReplicationTaskAssessmentRun.Builder> replicationTaskAssessmentRun) The premigration assessment run that was started.replicationTaskAssessmentRun(ReplicationTaskAssessmentRun replicationTaskAssessmentRun) The premigration assessment run that was started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replicationTaskAssessmentRun
StartReplicationTaskAssessmentRunResponse.Builder replicationTaskAssessmentRun(ReplicationTaskAssessmentRun replicationTaskAssessmentRun) The premigration assessment run that was started.
- Parameters:
replicationTaskAssessmentRun- The premigration assessment run that was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationTaskAssessmentRun
default StartReplicationTaskAssessmentRunResponse.Builder replicationTaskAssessmentRun(Consumer<ReplicationTaskAssessmentRun.Builder> replicationTaskAssessmentRun) The premigration assessment run that was started.
This is a convenience method that creates an instance of theReplicationTaskAssessmentRun.Builderavoiding the need to create one manually viaReplicationTaskAssessmentRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationTaskAssessmentRun(ReplicationTaskAssessmentRun).- Parameters:
replicationTaskAssessmentRun- a consumer that will call methods onReplicationTaskAssessmentRun.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-