/* * 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.lexruntimev2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The next action that Amazon Lex V2 should take. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DialogAction implements Serializable, Cloneable, StructuredPojo { /** *

* The next action that the bot should take in its interaction with the user. The possible values are: *

* */ private String type; /** *

* The name of the slot that should be elicited from the user. *

*/ private String slotToElicit; /** *

* Configures the slot to use spell-by-letter or spell-by-word style. When you use a style on a slot, users can * spell out their input to make it clear to your bot. *

* *

* For more information, see Using * spelling to enter slot values . *

*/ private String slotElicitationStyle; /** *

* The name of the constituent sub slot of the composite slot specified in slotToElicit that should be elicited from * the user. *

*/ private ElicitSubSlot subSlotToElicit; /** *

* The next action that the bot should take in its interaction with the user. The possible values are: *

* * * @param type * The next action that the bot should take in its interaction with the user. The possible values are:

*