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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMigrationTaskUpdatesResponse.BuildermigrationTaskUpdateList(Collection<MigrationTaskUpdate> migrationTaskUpdateList)The list of migration-task updates.ListMigrationTaskUpdatesResponse.BuildermigrationTaskUpdateList(Consumer<MigrationTaskUpdate.Builder>... migrationTaskUpdateList)The list of migration-task updates.ListMigrationTaskUpdatesResponse.BuildermigrationTaskUpdateList(MigrationTaskUpdate... migrationTaskUpdateList)The list of migration-task updates.ListMigrationTaskUpdatesResponse.BuildernextToken(String nextToken)If the response includes aNextTokenvalue, 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 Detail
-
nextToken
ListMigrationTaskUpdatesResponse.Builder nextToken(String 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 to#migrationTaskUpdateList(List.) - 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:
#migrationTaskUpdateList(java.util.Collection)
-
-