Interface ListMigrationTaskUpdatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMigrationTaskUpdatesResponse.Builder,,ListMigrationTaskUpdatesResponse> MigrationHubResponse.Builder,SdkBuilder<ListMigrationTaskUpdatesResponse.Builder,,ListMigrationTaskUpdatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMigrationTaskUpdatesResponse
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 aNextTokenvalue, that means that there are more results available.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response includes a
NextTokenvalue, that means that there are more results available. The value ofNextTokenis a unique pagination token for each page. To retrieve the next page of results, call this API again and specify thisNextTokenvalue 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 aNextTokenvalue, that means that there are more results available. The value ofNextTokenis a unique pagination token for each page. To retrieve the next page of results, call this API again and specify thisNextTokenvalue 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.Builderavoiding the need to create one manually viaMigrationTaskUpdate.builder().When the
Consumercompletes,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:
-