@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MigrationSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MigrationSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
migrationId()
The unique identifier that Amazon Lex assigned to the migration.
|
MigrationStatus |
migrationStatus()
The status of the operation.
|
String |
migrationStatusAsString()
The status of the operation.
|
MigrationStrategy |
migrationStrategy()
The strategy used to conduct the migration.
|
String |
migrationStrategyAsString()
The strategy used to conduct the migration.
|
Instant |
migrationTimestamp()
The date and time that the migration started.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MigrationSummary.Builder> |
serializableBuilderClass() |
MigrationSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Locale |
v1BotLocale()
The locale of the Amazon Lex V1 bot that is the source of the migration.
|
String |
v1BotLocaleAsString()
The locale of the Amazon Lex V1 bot that is the source of the migration.
|
String |
v1BotName()
The name of the Amazon Lex V1 bot that is the source of the migration.
|
String |
v1BotVersion()
The version of the Amazon Lex V1 bot that is the source of the migration.
|
String |
v2BotId()
The unique identifier of the Amazon Lex V2 that is the destination of the migration.
|
String |
v2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String migrationId()
The unique identifier that Amazon Lex assigned to the migration.
public final String v1BotName()
The name of the Amazon Lex V1 bot that is the source of the migration.
public final String v1BotVersion()
The version of the Amazon Lex V1 bot that is the source of the migration.
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().
Localepublic 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().
Localepublic final String v2BotId()
The unique identifier of the Amazon Lex V2 that is the destination of the migration.
public final String v2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
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().
COMPLETE the bot is available in Amazon Lex
V2. There may be alerts and warnings that need to be resolved to complete the migration.MigrationStatuspublic 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().
COMPLETE the bot is available in Amazon Lex
V2. There may be alerts and warnings that need to be resolved to complete the migration.MigrationStatuspublic 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().
MigrationStrategypublic 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().
MigrationStrategypublic final Instant migrationTimestamp()
The date and time that the migration started.
public MigrationSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>public static MigrationSummary.Builder builder()
public static Class<? extends MigrationSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.