Interface ListMigrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMigrationsResponse.Builder,,ListMigrationsResponse> OpenSearchResponse.Builder,SdkBuilder<ListMigrationsResponse.Builder,,ListMigrationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMigrationsResponse
@Mutable
@NotThreadSafe
public static interface ListMigrationsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListMigrationsResponse.Builder,ListMigrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmigrations(Collection<MigrationSummary> migrations) A list of migration job summaries for the specified application.migrations(Consumer<MigrationSummary.Builder>... migrations) A list of migration job summaries for the specified application.migrations(MigrationSummary... migrations) A list of migration job summaries for the specified application.The pagination token to use in a subsequent call to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
-
migrations
A list of migration job summaries for the specified application.
- Parameters:
migrations- A list of migration job summaries for the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrations
A list of migration job summaries for the specified application.
- Parameters:
migrations- A list of migration job summaries for the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrations
A list of migration job summaries for the specified application.
This is a convenience method that creates an instance of theMigrationSummary.Builderavoiding the need to create one manually viaMigrationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigrations(List<MigrationSummary>).- Parameters:
migrations- a consumer that will call methods onMigrationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use in a subsequent call to retrieve the next set of results.
- Parameters:
nextToken- The pagination token to use in a subsequent call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-