Interface GetMigrationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetMigrationResponse.Builder,GetMigrationResponse>, LexModelBuildingResponse.Builder, SdkBuilder<GetMigrationResponse.Builder,GetMigrationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetMigrationResponse

public static interface GetMigrationResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetMigrationResponse.Builder,GetMigrationResponse>
  • Method Details

    • migrationId

      GetMigrationResponse.Builder migrationId(String 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 the GetMigration operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • v1BotName

      GetMigrationResponse.Builder v1BotName(String 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

      GetMigrationResponse.Builder v1BotVersion(String 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

      GetMigrationResponse.Builder v1BotLocale(String 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

      GetMigrationResponse.Builder v1BotLocale(Locale 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

      GetMigrationResponse.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.
    • migrationStatus

      GetMigrationResponse.Builder migrationStatus(String 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 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • migrationStatus

      GetMigrationResponse.Builder migrationStatus(MigrationStatus 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 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • migrationStrategy

      GetMigrationResponse.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

      GetMigrationResponse.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:
    • migrationTimestamp

      GetMigrationResponse.Builder migrationTimestamp(Instant 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 the MigrationAlert.Builder avoiding the need to create one manually via MigrationAlert.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alerts(List<MigrationAlert>).

      Parameters:
      alerts - a consumer that will call methods on MigrationAlert.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: