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.Builderbuilder()final booleanfinal booleanequalsBySdkFields(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 inthashCode()final StringThe unique identifier that Amazon Lex assigned to the migration.final MigrationStatusThe status of the operation.final StringThe status of the operation.final MigrationStrategyThe strategy used to conduct the migration.final StringThe strategy used to conduct the migration.final InstantThe 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 StringtoString()Returns a string representation of this object.final LocaleThe locale of the Amazon Lex V1 bot that is the source of the migration.final StringThe locale of the Amazon Lex V1 bot that is the source of the migration.final StringThe name of the Amazon Lex V1 bot that is the source of the migration.final StringThe version of the Amazon Lex V1 bot that is the source of the migration.final Stringv2BotId()The unique identifier of the Amazon Lex V2 that is the destination of the migration.final StringThe 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,
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:
-
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:
-
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
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:
-
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:
-
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:
-
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:
-
migrationTimestamp
The date and time that the migration started.
- Returns:
- The date and time that the migration started.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MigrationSummary.Builder,MigrationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-