/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lexmodelbuilding.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartMigrationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. *

*/ private String v1BotName; /** *

* The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as * any numbered version. *

*/ private String v1BotVersion; /** *

* The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to. *

* */ private String v2BotName; /** *

* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot. *

*/ private String v2BotRole; /** *

* The strategy used to conduct the migration. *

* */ private String migrationStrategy; /** *

* The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. *

* * @param v1BotName * The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. */ public void setV1BotName(String v1BotName) { this.v1BotName = v1BotName; } /** *

* The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. *

* * @return The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. */ public String getV1BotName() { return this.v1BotName; } /** *

* The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. *

* * @param v1BotName * The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. * @return Returns a reference to this object so that method calls can be chained together. */ public StartMigrationRequest withV1BotName(String v1BotName) { setV1BotName(v1BotName); return this; } /** *

* The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as * any numbered version. *

* * @param v1BotVersion * The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as * well as any numbered version. */ public void setV1BotVersion(String v1BotVersion) { this.v1BotVersion = v1BotVersion; } /** *

* The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as * any numbered version. *

* * @return The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as * well as any numbered version. */ public String getV1BotVersion() { return this.v1BotVersion; } /** *

* The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as * any numbered version. *

* * @param v1BotVersion * The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as * well as any numbered version. * @return Returns a reference to this object so that method calls can be chained together. */ public StartMigrationRequest withV1BotVersion(String v1BotVersion) { setV1BotVersion(v1BotVersion); return this; } /** *

* The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to. *

* * * @param v2BotName * The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.

*