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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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
-
migrationSummaries
An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the
migrationIdfrom 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 themigrationIdfrom 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
migrationIdfrom 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 themigrationIdfrom 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 themigrationIdfrom the summary in a call to the operation.MigrationSummary.Builderavoiding the need to create one manually viaMigrationSummary.builder().When the
Consumercompletes,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.
-