@Generated(value="software.amazon.awssdk:codegen") public final class StartMigrationRequest extends LexModelBuildingRequest implements ToCopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartMigrationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartMigrationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MigrationStrategy |
migrationStrategy()
The strategy used to conduct the migration.
|
String |
migrationStrategyAsString()
The strategy used to conduct the migration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartMigrationRequest.Builder> |
serializableBuilderClass() |
StartMigrationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
v1BotName()
The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
|
String |
v1BotVersion()
The version of the bot to migrate to Amazon Lex V2.
|
String |
v2BotName()
The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.
|
String |
v2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String v1BotName()
The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
public final String v1BotVersion()
The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as
any numbered version.
$LATEST version as
well as any numbered version.public final String v2BotName()
The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.
If the Amazon Lex V2 bot doesn't exist, you must use the CREATE_NEW migration strategy.
If the Amazon Lex V2 bot exists, you must use the UPDATE_EXISTING migration strategy to change the
contents of the Amazon Lex V2 bot.
If the Amazon Lex V2 bot doesn't exist, you must use the CREATE_NEW migration strategy.
If the Amazon Lex V2 bot exists, you must use the UPDATE_EXISTING migration strategy to
change the contents of the Amazon Lex V2 bot.
public final String v2BotRole()
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
public final 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.
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().
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.
MigrationStrategypublic final String migrationStrategyAsString()
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.
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().
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.
MigrationStrategypublic StartMigrationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>toBuilder in class LexModelBuildingRequestpublic static StartMigrationRequest.Builder builder()
public static Class<? extends StartMigrationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.