Interface GetMigrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMigrationsResponse.Builder,
,GetMigrationsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetMigrationsResponse.Builder,
,GetMigrationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMigrationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmigrationSummaries
(Collection<MigrationSummary> migrationSummaries) An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.migrationSummaries
(Consumer<MigrationSummary.Builder>... migrationSummaries) An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.migrationSummaries
(MigrationSummary... migrationSummaries) An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of migrations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
migrationSummaries
An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the
migrationId
from the summary in a call to the operation.- Parameters:
migrationSummaries
- An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use themigrationId
from the summary in a call to the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationSummaries
An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the
migrationId
from the summary in a call to the operation.- Parameters:
migrationSummaries
- An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use themigrationId
from the summary in a call to the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationSummaries
GetMigrationsResponse.Builder migrationSummaries(Consumer<MigrationSummary.Builder>... migrationSummaries) An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the
This is a convenience method that creates an instance of themigrationId
from the summary in a call to the operation.MigrationSummary.Builder
avoiding the need to create one manually viaMigrationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomigrationSummaries(List<MigrationSummary>)
.- Parameters:
migrationSummaries
- 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
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of migrations.
- Parameters:
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of migrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-