Interface CfnBot.DialogStateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.DialogStateProperty.Jsii$Proxy
- Enclosing class:
- CfnBot
@Stability(Stable)
public static interface CfnBot.DialogStateProperty
extends software.amazon.jsii.JsiiSerializable
The current state of the conversation with the user.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lex.*; SlotValueOverrideProperty slotValueOverrideProperty_; DialogStateProperty dialogStateProperty = DialogStateProperty.builder() .dialogAction(DialogActionProperty.builder() .type("type") // the properties below are optional .slotToElicit("slotToElicit") .suppressNextMessage(false) .build()) .intent(IntentOverrideProperty.builder() .name("name") .slots(List.of(SlotValueOverrideMapProperty.builder() .slotName("slotName") .slotValueOverride(SlotValueOverrideProperty.builder() .shape("shape") .value(SlotValueProperty.builder() .interpretedValue("interpretedValue") .build()) .values(List.of(slotValueOverrideProperty_)) .build()) .build())) .build()) .sessionAttributes(List.of(SessionAttributeProperty.builder() .key("key") // the properties below are optional .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.DialogStateProperty
static final class
An implementation forCfnBot.DialogStateProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Defines the action that the bot executes at runtime when the conversation reaches this step.default Object
Override settings to configure the intent state.default Object
Map of key/value pairs representing session-specific context information.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDialogAction
Defines the action that the bot executes at runtime when the conversation reaches this step. -
getIntent
Override settings to configure the intent state. -
getSessionAttributes
Map of key/value pairs representing session-specific context information.It contains application information passed between Amazon Lex and a client application.
-
builder
- Returns:
- a
CfnBot.DialogStateProperty.Builder
ofCfnBot.DialogStateProperty
-