Interface GetMigrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMigrationResponse.Builder,
,GetMigrationResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetMigrationResponse.Builder,
,GetMigrationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMigrationResponse
-
Method Summary
Modifier and TypeMethodDescriptionalerts
(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.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.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.migrationId
(String migrationId) The unique identifier of the migration.migrationStatus
(String migrationStatus) Indicates the status of the migration.migrationStatus
(MigrationStatus migrationStatus) Indicates the status of the migration.migrationStrategy
(String migrationStrategy) The strategy used to conduct the migration.migrationStrategy
(MigrationStrategy migrationStrategy) The strategy used to conduct the migration.migrationTimestamp
(Instant migrationTimestamp) The date and time that the migration started.v1BotLocale
(String v1BotLocale) The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.v1BotLocale
(Locale v1BotLocale) The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.v1BotVersion
(String v1BotVersion) The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.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
-
migrationId
The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.- Parameters:
migrationId
- The unique identifier of the migration. This is the same as the identifier used when calling theGetMigration
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v1BotName
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
- Parameters:
v1BotName
- The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v1BotVersion
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
- Parameters:
v1BotVersion
- The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v1BotLocale
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
- Parameters:
v1BotLocale
- The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
v1BotLocale
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
- Parameters:
v1BotLocale
- The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
v2BotId
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
- Parameters:
v2BotId
- The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v2BotRole
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
- Parameters:
v2BotRole
- The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
migrationStatus
- Indicates the status of the migration. When the status isCOMPLETE
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
migrationStatus
- Indicates the status of the migration. When the status isCOMPLETE
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
migrationTimestamp
The date and time that the migration started.
- Parameters:
migrationTimestamp
- The date and time that the migration started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaMigrationAlert.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalerts(List<MigrationAlert>)
.- Parameters:
alerts
- a consumer that will call methods onMigrationAlert.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-