Interface ListMigrationTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMigrationTasksResponse.Builder,,ListMigrationTasksResponse> MigrationHubResponse.Builder,SdkBuilder<ListMigrationTasksResponse.Builder,,ListMigrationTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMigrationTasksResponse
-
Method Summary
Modifier and TypeMethodDescriptionmigrationTaskSummaryList(Collection<MigrationTaskSummary> migrationTaskSummaryList) Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.migrationTaskSummaryList(Consumer<MigrationTaskSummary.Builder>... migrationTaskSummaryList) Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.migrationTaskSummaryList(MigrationTaskSummary... migrationTaskSummaryList) Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubResponse.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
-
nextToken
If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
- Parameters:
nextToken- If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskSummaryList
ListMigrationTasksResponse.Builder migrationTaskSummaryList(Collection<MigrationTaskSummary> migrationTaskSummaryList) Lists the migration task's summary which includes:
MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.- Parameters:
migrationTaskSummaryList- Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskSummaryList
ListMigrationTasksResponse.Builder migrationTaskSummaryList(MigrationTaskSummary... migrationTaskSummaryList) Lists the migration task's summary which includes:
MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.- Parameters:
migrationTaskSummaryList- Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskSummaryList
ListMigrationTasksResponse.Builder migrationTaskSummaryList(Consumer<MigrationTaskSummary.Builder>... migrationTaskSummaryList) Lists the migration task's summary which includes:
This is a convenience method that creates an instance of theMigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.MigrationTaskSummary.Builderavoiding the need to create one manually viaMigrationTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigrationTaskSummaryList(List<MigrationTaskSummary>).- Parameters:
migrationTaskSummaryList- a consumer that will call methods onMigrationTaskSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-