public static interface GetMigrationResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetMigrationResponse.Builder,GetMigrationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetMigrationResponse.Builder |
alerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex
V2.
|
GetMigrationResponse.Builder |
alerts(Consumer<MigrationAlert.Builder>... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex
V2.
|
GetMigrationResponse.Builder |
alerts(MigrationAlert... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex
V2.
|
GetMigrationResponse.Builder |
migrationId(String migrationId)
The unique identifier of the migration.
|
GetMigrationResponse.Builder |
migrationStatus(MigrationStatus migrationStatus)
Indicates the status of the migration.
|
GetMigrationResponse.Builder |
migrationStatus(String migrationStatus)
Indicates the status of the migration.
|
GetMigrationResponse.Builder |
migrationStrategy(MigrationStrategy migrationStrategy)
The strategy used to conduct the migration.
|
GetMigrationResponse.Builder |
migrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
|
GetMigrationResponse.Builder |
migrationTimestamp(Instant migrationTimestamp)
The date and time that the migration started.
|
GetMigrationResponse.Builder |
v1BotLocale(Locale v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResponse.Builder |
v1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResponse.Builder |
v1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResponse.Builder |
v1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResponse.Builder |
v2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
|
GetMigrationResponse.Builder |
v2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMigrationResponse.Builder migrationId(String migrationId)
The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration operation.
migrationId - The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration operation.GetMigrationResponse.Builder v1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotName - The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.GetMigrationResponse.Builder v1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotVersion - The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.GetMigrationResponse.Builder v1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
GetMigrationResponse.Builder v1BotLocale(Locale v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
GetMigrationResponse.Builder v2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
v2BotId - The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.GetMigrationResponse.Builder v2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
v2BotRole - The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.GetMigrationResponse.Builder migrationStatus(String migrationStatus)
Indicates the status of the migration. When the status is COMPLETE the migration is finished and
the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete
the migration.
migrationStatus - Indicates the status of the migration. When the status is COMPLETE the migration is
finished and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be
resolved to complete the migration.MigrationStatus,
MigrationStatusGetMigrationResponse.Builder migrationStatus(MigrationStatus migrationStatus)
Indicates the status of the migration. When the status is COMPLETE the migration is finished and
the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete
the migration.
migrationStatus - Indicates the status of the migration. When the status is COMPLETE the migration is
finished and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be
resolved to complete the migration.MigrationStatus,
MigrationStatusGetMigrationResponse.Builder migrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
locale is created in the Amazon Lex V2 bot.
migrationStrategy - The strategy used to conduct the migration.
CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the
new bot.
UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a
new locale is created in the Amazon Lex V2 bot.
MigrationStrategy,
MigrationStrategyGetMigrationResponse.Builder migrationStrategy(MigrationStrategy migrationStrategy)
The strategy used to conduct the migration.
CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
locale is created in the Amazon Lex V2 bot.
migrationStrategy - The strategy used to conduct the migration.
CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the
new bot.
UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a
new locale is created in the Amazon Lex V2 bot.
MigrationStrategy,
MigrationStrategyGetMigrationResponse.Builder migrationTimestamp(Instant migrationTimestamp)
The date and time that the migration started.
migrationTimestamp - The date and time that the migration started.GetMigrationResponse.Builder alerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
alerts - A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to
Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if
Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
GetMigrationResponse.Builder alerts(MigrationAlert... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
alerts - A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to
Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if
Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
GetMigrationResponse.Builder alerts(Consumer<MigrationAlert.Builder>... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
This is a convenience method that creates an instance of theMigrationAlert.Builder avoiding the need to
create one manually via
MigrationAlert.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #alerts(List.
alerts - a consumer that will call methods on
MigrationAlert.Builder#alerts(java.util.Collection) Copyright © 2022. All rights reserved.