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 Details

    • 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 $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

      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_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

      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

      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:
    • overrideConfiguration

      StartMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.