Class MigrationSummary

java.lang.Object
software.amazon.awssdk.services.lexmodelbuilding.model.MigrationSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>

@Generated("software.amazon.awssdk:codegen") public final class MigrationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>

Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.

See Also:
  • Method Details

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

      public final MigrationStrategy migrationStrategy()

      The strategy used to conduct the migration.

      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.
      See Also:
    • migrationStrategyAsString

      public final String migrationStrategyAsString()

      The strategy used to conduct the migration.

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

      public final Instant migrationTimestamp()

      The date and time that the migration started.

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

      public MigrationSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>
      Returns:
      a builder for type T
    • builder

      public static MigrationSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends MigrationSummary.Builder> serializableBuilderClass()
    • hashCode

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.