Interface ListMigrationTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMigrationTasksResponse.Builder,ListMigrationTasksResponse>,MigrationHubResponse.Builder,SdkBuilder<ListMigrationTasksResponse.Builder,ListMigrationTasksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMigrationTasksResponse
public static interface ListMigrationTasksResponse.Builder extends MigrationHubResponse.Builder, SdkPojo, CopyableBuilder<ListMigrationTasksResponse.Builder,ListMigrationTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMigrationTasksResponse.BuildermigrationTaskSummaryList(Collection<MigrationTaskSummary> migrationTaskSummaryList)Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.ListMigrationTasksResponse.BuildermigrationTaskSummaryList(Consumer<MigrationTaskSummary.Builder>... migrationTaskSummaryList)Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.ListMigrationTasksResponse.BuildermigrationTaskSummaryList(MigrationTaskSummary... migrationTaskSummaryList)Lists the migration task's summary which includes:MigrationTaskName,ProgressPercent,ProgressUpdateStream,Status, and theUpdateDateTimefor each task.ListMigrationTasksResponse.BuildernextToken(String 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubResponse.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
-
nextToken
ListMigrationTasksResponse.Builder nextToken(String 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 to#migrationTaskSummaryList(List.) - 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:
#migrationTaskSummaryList(java.util.Collection)
-
-