Interface StartMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartMigrationRequest.Builder,
,StartMigrationRequest> LexModelBuildingRequest.Builder
,SdkBuilder<StartMigrationRequest.Builder,
,StartMigrationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionmigrationStrategy
(String migrationStrategy) The strategy used to conduct the migration.migrationStrategy
(MigrationStrategy migrationStrategy) The strategy used to conduct the migration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.v1BotVersion
(String v1BotVersion) The version of the bot to migrate to Amazon Lex V2.The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
v1BotName
The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
- Parameters:
v1BotName
- The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v1BotVersion
The version of the bot to migrate to Amazon Lex V2. You can migrate the
$LATEST
version as well as any numbered version.- Parameters:
v1BotVersion
- The version of the bot to migrate to Amazon Lex V2. You can migrate the$LATEST
version as well as any numbered version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v2BotName
The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.
-
If the Amazon Lex V2 bot doesn't exist, you must use the
CREATE_NEW
migration strategy. -
If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTING
migration strategy to change the contents of the Amazon Lex V2 bot.
- Parameters:
v2BotName
- The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.-
If the Amazon Lex V2 bot doesn't exist, you must use the
CREATE_NEW
migration strategy. -
If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTING
migration strategy to change the contents of the Amazon Lex V2 bot.
-
- 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.
-
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:
-
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-