Interface StartMigrationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>,LexModelBuildingRequest.Builder,SdkBuilder<StartMigrationRequest.Builder,StartMigrationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartMigrationRequest
public static interface StartMigrationRequest.Builder extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartMigrationRequest.BuildermigrationStrategy(String migrationStrategy)The strategy used to conduct the migration.StartMigrationRequest.BuildermigrationStrategy(MigrationStrategy migrationStrategy)The strategy used to conduct the migration.StartMigrationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartMigrationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartMigrationRequest.Builderv1BotName(String v1BotName)The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.StartMigrationRequest.Builderv1BotVersion(String v1BotVersion)The version of the bot to migrate to Amazon Lex V2.StartMigrationRequest.Builderv2BotName(String v2BotName)The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.StartMigrationRequest.Builderv2BotRole(String v2BotRole)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 Detail
-
v1BotName
StartMigrationRequest.Builder v1BotName(String 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
StartMigrationRequest.Builder v1BotVersion(String v1BotVersion)
The version of the bot to migrate to Amazon Lex V2. You can migrate the
$LATESTversion as well as any numbered version.- Parameters:
v1BotVersion- The version of the bot to migrate to Amazon Lex V2. You can migrate the$LATESTversion as well as any numbered version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
v2BotName
StartMigrationRequest.Builder v2BotName(String 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_NEWmigration strategy. -
If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTINGmigration 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_NEWmigration strategy. -
If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTINGmigration 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
StartMigrationRequest.Builder v2BotRole(String 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
StartMigrationRequest.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.
- 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,MigrationStrategy
-
-
migrationStrategy
StartMigrationRequest.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.
- 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,MigrationStrategy
-
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-