Interface GetMigrationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMigrationsResponse.Builder,GetMigrationsResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetMigrationsResponse.Builder,GetMigrationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMigrationsResponse
public static interface GetMigrationsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetMigrationsResponse.Builder,GetMigrationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMigrationsResponse.BuildermigrationSummaries(Collection<MigrationSummary> migrationSummaries)An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.GetMigrationsResponse.BuildermigrationSummaries(Consumer<MigrationSummary.Builder>... migrationSummaries)An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.GetMigrationsResponse.BuildermigrationSummaries(MigrationSummary... migrationSummaries)An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.GetMigrationsResponse.BuildernextToken(String 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.-
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 Detail
-
migrationSummaries
GetMigrationsResponse.Builder migrationSummaries(Collection<MigrationSummary> 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(MigrationSummary... 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 to#migrationSummaries(List.) - 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:
#migrationSummaries(java.util.Collection)
-
nextToken
GetMigrationsResponse.Builder nextToken(String 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.
-
-