Class MigrationSummary

    • Method Detail

      • migrationId

        public final String migrationId()

        The unique identifier that Amazon Lex assigned to the migration.

        Returns:
        The unique identifier that Amazon Lex assigned to the migration.
      • v1BotName

        public final String v1BotName()

        The name of the Amazon Lex V1 bot that is the source of the migration.

        Returns:
        The name of the Amazon Lex V1 bot that is the source of the migration.
      • v1BotVersion

        public final String v1BotVersion()

        The version of the Amazon Lex V1 bot that is the source of the migration.

        Returns:
        The version of the Amazon Lex V1 bot that is the source of the migration.
      • v1BotLocale

        public final Locale v1BotLocale()

        The locale of the Amazon Lex V1 bot that is the source of the migration.

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

        Returns:
        The locale of the Amazon Lex V1 bot that is the source of the migration.
        See Also:
        Locale
      • v1BotLocaleAsString

        public final String v1BotLocaleAsString()

        The locale of the Amazon Lex V1 bot that is the source of the migration.

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

        Returns:
        The locale of the Amazon Lex V1 bot that is the source of the migration.
        See Also:
        Locale
      • v2BotId

        public final String v2BotId()

        The unique identifier of the Amazon Lex V2 that is the destination of the migration.

        Returns:
        The unique identifier of the Amazon Lex V2 that is the destination of the migration.
      • 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.
      • migrationStatus

        public final MigrationStatus migrationStatus()

        The status of the operation. When the status is COMPLETE the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the migration.

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

        Returns:
        The status of the operation. When the status is COMPLETE the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the migration.
        See Also:
        MigrationStatus
      • migrationStatusAsString

        public final String migrationStatusAsString()

        The status of the operation. When the status is COMPLETE the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the migration.

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

        Returns:
        The status of the operation. When the status is COMPLETE the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the migration.
        See Also:
        MigrationStatus
      • migrationTimestamp

        public final Instant migrationTimestamp()

        The date and time that the migration started.

        Returns:
        The date and time that the migration started.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)