Class StartMigrationRequest

    • Method Detail

      • v1BotName

        public final String v1BotName()

        The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

        Returns:
        The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
      • v1BotVersion

        public final 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.

        Returns:
        The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as any numbered version.
      • v2BotName

        public final 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.

        Returns:
        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.

      • v2BotRole

        public final String v2BotRole()

        The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

        Returns:
        The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
      • migrationStrategy

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, migrationStrategy will return MigrationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from migrationStrategyAsString().

        Returns:
        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.

        See Also:
        MigrationStrategy
      • migrationStrategyAsString

        public final String migrationStrategyAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, migrationStrategy will return MigrationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from migrationStrategyAsString().

        Returns:
        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.

        See Also:
        MigrationStrategy
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object