@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMigrationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMigrationResult() |
Modifier and Type | Method and Description |
---|---|
GetMigrationResult |
clone() |
boolean |
equals(Object obj) |
List<MigrationAlert> |
getAlerts()
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
|
String |
getMigrationId()
The unique identifier of the migration.
|
String |
getMigrationStatus()
Indicates the status of the migration.
|
String |
getMigrationStrategy()
The strategy used to conduct the migration.
|
Date |
getMigrationTimestamp()
The date and time that the migration started.
|
String |
getV1BotLocale()
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
String |
getV1BotName()
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
String |
getV1BotVersion()
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
String |
getV2BotId()
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
|
String |
getV2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
int |
hashCode() |
void |
setAlerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
|
void |
setMigrationId(String migrationId)
The unique identifier of the migration.
|
void |
setMigrationStatus(String migrationStatus)
Indicates the status of the migration.
|
void |
setMigrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
|
void |
setMigrationTimestamp(Date migrationTimestamp)
The date and time that the migration started.
|
void |
setV1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
void |
setV1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
void |
setV1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
void |
setV2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
|
void |
setV2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
String |
toString()
Returns a string representation of this object.
|
GetMigrationResult |
withAlerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
|
GetMigrationResult |
withAlerts(MigrationAlert... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
|
GetMigrationResult |
withMigrationId(String migrationId)
The unique identifier of the migration.
|
GetMigrationResult |
withMigrationStatus(MigrationStatus migrationStatus)
Indicates the status of the migration.
|
GetMigrationResult |
withMigrationStatus(String migrationStatus)
Indicates the status of the migration.
|
GetMigrationResult |
withMigrationStrategy(MigrationStrategy migrationStrategy)
The strategy used to conduct the migration.
|
GetMigrationResult |
withMigrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
|
GetMigrationResult |
withMigrationTimestamp(Date migrationTimestamp)
The date and time that the migration started.
|
GetMigrationResult |
withV1BotLocale(Locale v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResult |
withV1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResult |
withV1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResult |
withV1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
GetMigrationResult |
withV2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
|
GetMigrationResult |
withV2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMigrationId(String migrationId)
The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.
migrationId
- The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.public String getMigrationId()
The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.
GetMigration
operation.public GetMigrationResult withMigrationId(String migrationId)
The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.
migrationId
- The unique identifier of the migration. This is the same as the identifier used when calling the
GetMigration
operation.public void setV1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotName
- The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.public String getV1BotName()
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
public GetMigrationResult withV1BotName(String v1BotName)
The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotName
- The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.public void setV1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotVersion
- The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.public String getV1BotVersion()
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
public GetMigrationResult withV1BotVersion(String v1BotVersion)
The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotVersion
- The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.public void setV1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotLocale
- The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.Locale
public String getV1BotLocale()
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
Locale
public GetMigrationResult withV1BotLocale(String v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotLocale
- The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.Locale
public GetMigrationResult withV1BotLocale(Locale v1BotLocale)
The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
v1BotLocale
- The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.Locale
public void setV2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
v2BotId
- The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.public String getV2BotId()
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
public GetMigrationResult withV2BotId(String v2BotId)
The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
v2BotId
- The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.public void setV2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
v2BotRole
- The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.public String getV2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
public GetMigrationResult withV2BotRole(String v2BotRole)
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
v2BotRole
- The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.public void setMigrationStatus(String migrationStatus)
Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
migration.
migrationStatus
- Indicates the status of the migration. When the status is COMPLETE
the migration is finished
and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
complete the migration.MigrationStatus
public String getMigrationStatus()
Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
migration.
COMPLETE
the migration is finished
and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
complete the migration.MigrationStatus
public GetMigrationResult withMigrationStatus(String migrationStatus)
Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
migration.
migrationStatus
- Indicates the status of the migration. When the status is COMPLETE
the migration is finished
and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
complete the migration.MigrationStatus
public GetMigrationResult withMigrationStatus(MigrationStatus migrationStatus)
Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
migration.
migrationStatus
- Indicates the status of the migration. When the status is COMPLETE
the migration is finished
and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
complete the migration.MigrationStatus
public void setMigrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
created in the Amazon Lex V2 bot.
migrationStrategy
- The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
locale is created in the Amazon Lex V2 bot.
MigrationStrategy
public String getMigrationStrategy()
The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
created in the Amazon Lex V2 bot.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a
new locale is created in the Amazon Lex V2 bot.
MigrationStrategy
public GetMigrationResult withMigrationStrategy(String migrationStrategy)
The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
created in the Amazon Lex V2 bot.
migrationStrategy
- The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
locale is created in the Amazon Lex V2 bot.
MigrationStrategy
public GetMigrationResult withMigrationStrategy(MigrationStrategy migrationStrategy)
The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
created in the Amazon Lex V2 bot.
migrationStrategy
- The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
bot.
UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
locale is created in the Amazon Lex V2 bot.
MigrationStrategy
public void setMigrationTimestamp(Date migrationTimestamp)
The date and time that the migration started.
migrationTimestamp
- The date and time that the migration started.public Date getMigrationTimestamp()
The date and time that the migration started.
public GetMigrationResult withMigrationTimestamp(Date migrationTimestamp)
The date and time that the migration started.
migrationTimestamp
- The date and time that the migration started.public List<MigrationAlert> getAlerts()
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
public void setAlerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
alerts
- A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
public GetMigrationResult withAlerts(MigrationAlert... alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
NOTE: This method appends the values to the existing list (if any). Use
setAlerts(java.util.Collection)
or withAlerts(java.util.Collection)
if you want to override the
existing values.
alerts
- A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
public GetMigrationResult withAlerts(Collection<MigrationAlert> alerts)
A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
alerts
- A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
V2.
For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
public String toString()
toString
in class Object
Object.toString()
public GetMigrationResult clone()