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 theUpdateDateTime
for each task.migrationTaskSummaryList
(Consumer<MigrationTaskSummary.Builder>... migrationTaskSummaryList) Lists the migration task's summary which includes:MigrationTaskName
,ProgressPercent
,ProgressUpdateStream
,Status
, and theUpdateDateTime
for each task.migrationTaskSummaryList
(MigrationTaskSummary... migrationTaskSummaryList) Lists the migration task's summary which includes:MigrationTaskName
,ProgressPercent
,ProgressUpdateStream
,Status
, and theUpdateDateTime
for 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
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 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 theUpdateDateTime
for each task.- Parameters:
migrationTaskSummaryList
- Lists the migration task's summary which includes:MigrationTaskName
,ProgressPercent
,ProgressUpdateStream
,Status
, and theUpdateDateTime
for 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 theUpdateDateTime
for each task.- Parameters:
migrationTaskSummaryList
- Lists the migration task's summary which includes:MigrationTaskName
,ProgressPercent
,ProgressUpdateStream
,Status
, and theUpdateDateTime
for 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 theUpdateDateTime
for each task.MigrationTaskSummary.Builder
avoiding the need to create one manually viaMigrationTaskSummary.builder()
.When the
Consumer
completes,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:
-