Interface ListMigrationTaskUpdatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMigrationTaskUpdatesResponse.Builder,
,ListMigrationTaskUpdatesResponse> MigrationHubResponse.Builder
,SdkBuilder<ListMigrationTaskUpdatesResponse.Builder,
,ListMigrationTaskUpdatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMigrationTaskUpdatesResponse
@Mutable
@NotThreadSafe
public static interface ListMigrationTaskUpdatesResponse.Builder
extends MigrationHubResponse.Builder, SdkPojo, CopyableBuilder<ListMigrationTaskUpdatesResponse.Builder,ListMigrationTaskUpdatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmigrationTaskUpdateList
(Collection<MigrationTaskUpdate> migrationTaskUpdateList) The list of migration-task updates.migrationTaskUpdateList
(Consumer<MigrationTaskUpdate.Builder>... migrationTaskUpdateList) The list of migration-task updates.migrationTaskUpdateList
(MigrationTaskUpdate... migrationTaskUpdateList) The list of migration-task updates.If the response includes aNextToken
value, that means that there are more results available.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 the response includes a
NextToken
value, that means that there are more results available. The value ofNextToken
is a unique pagination token for each page. To retrieve the next page of results, call this API again and specify thisNextToken
value in the request. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Parameters:
nextToken
- If the response includes aNextToken
value, that means that there are more results available. The value ofNextToken
is a unique pagination token for each page. To retrieve the next page of results, call this API again and specify thisNextToken
value in the request. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskUpdateList
ListMigrationTaskUpdatesResponse.Builder migrationTaskUpdateList(Collection<MigrationTaskUpdate> migrationTaskUpdateList) The list of migration-task updates.
- Parameters:
migrationTaskUpdateList
- The list of migration-task updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskUpdateList
ListMigrationTaskUpdatesResponse.Builder migrationTaskUpdateList(MigrationTaskUpdate... migrationTaskUpdateList) The list of migration-task updates.
- Parameters:
migrationTaskUpdateList
- The list of migration-task updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskUpdateList
ListMigrationTaskUpdatesResponse.Builder migrationTaskUpdateList(Consumer<MigrationTaskUpdate.Builder>... migrationTaskUpdateList) The list of migration-task updates.
This is a convenience method that creates an instance of theMigrationTaskUpdate.Builder
avoiding the need to create one manually viaMigrationTaskUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomigrationTaskUpdateList(List<MigrationTaskUpdate>)
.- Parameters:
migrationTaskUpdateList
- a consumer that will call methods onMigrationTaskUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-