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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMigrationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MigrationSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmigrationId()The unique identifier that Amazon Lex assigned to the migration.MigrationStatusmigrationStatus()The status of the operation.StringmigrationStatusAsString()The status of the operation.MigrationStrategymigrationStrategy()The strategy used to conduct the migration.StringmigrationStrategyAsString()The strategy used to conduct the migration.InstantmigrationTimestamp()The date and time that the migration started.List<SdkField<?>>sdkFields()static Class<? extends MigrationSummary.Builder>serializableBuilderClass()MigrationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Localev1BotLocale()The locale of the Amazon Lex V1 bot that is the source of the migration.Stringv1BotLocaleAsString()The locale of the Amazon Lex V1 bot that is the source of the migration.Stringv1BotName()The name of the Amazon Lex V1 bot that is the source of the migration.Stringv1BotVersion()The version of the Amazon Lex V1 bot that is the source of the migration.Stringv2BotId()The unique identifier of the Amazon Lex V2 that is the destination of the migration.Stringv2BotRole()The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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,
v1BotLocalewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromv1BotLocaleAsString().- 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,
v1BotLocalewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromv1BotLocaleAsString().- 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
COMPLETEthe 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,
migrationStatuswill returnMigrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStatusAsString().- Returns:
- The status of the operation. When the status is
COMPLETEthe 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
COMPLETEthe 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,
migrationStatuswill returnMigrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStatusAsString().- Returns:
- The status of the operation. When the status is
COMPLETEthe 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
-
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,
migrationStrategywill returnMigrationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStrategyAsString().- Returns:
- The strategy used to conduct the migration.
- See Also:
MigrationStrategy
-
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,
migrationStrategywill returnMigrationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStrategyAsString().- Returns:
- The strategy used to conduct the migration.
- See Also:
MigrationStrategy
-
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()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>
-
builder
public static MigrationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MigrationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-