Class MigrationSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MigrationSummary.Builder,
MigrationSummary>
Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MigrationSummary.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The unique identifier that Amazon Lex assigned to the migration.final MigrationStatus
The status of the operation.final String
The status of the operation.final MigrationStrategy
The strategy used to conduct the migration.final String
The strategy used to conduct the migration.final Instant
The date and time that the migration started.static Class
<? extends MigrationSummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Locale
The locale of the Amazon Lex V1 bot that is the source of the migration.final String
The locale of the Amazon Lex V1 bot that is the source of the migration.final String
The name of the Amazon Lex V1 bot that is the source of the migration.final String
The version of the Amazon Lex V1 bot that is the source of the migration.final String
v2BotId()
The unique identifier of the Amazon Lex V2 that is the destination of the migration.final String
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
migrationId
The unique identifier that Amazon Lex assigned to the migration.
- Returns:
- The unique identifier that Amazon Lex assigned to the migration.
-
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
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
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 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:
-
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 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:
-
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
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
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 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
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
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 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
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
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 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:
-
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 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:
-
migrationTimestamp
The date and time that the migration started.
- Returns:
- The date and time that the migration started.
-
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 interfaceToCopyableBuilder<MigrationSummary.Builder,
MigrationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-