Interface CfnBotPropsMixin.DialogStateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.DialogStateProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.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.cfnpropertymixins.services.lex.*;
SlotValueOverrideProperty slotValueOverrideProperty_;
DialogStateProperty dialogStateProperty = DialogStateProperty.builder()
.dialogAction(DialogActionProperty.builder()
.slotToElicit("slotToElicit")
.suppressNextMessage(false)
.type("type")
.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")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.DialogStatePropertystatic final classAn implementation forCfnBotPropsMixin.DialogStateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDefines the action that the bot executes at runtime when the conversation reaches this step.default ObjectOverride settings to configure the intent state.default ObjectMap 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.Returns union: either
IResolvableorCfnBotPropsMixin.DialogActionProperty- See Also:
-
getIntent
Override settings to configure the intent state.Returns union: either
IResolvableorCfnBotPropsMixin.IntentOverrideProperty- See Also:
-
getSessionAttributes
Map of key/value pairs representing session-specific context information.It contains application information passed between Amazon Lex and a client application.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBotPropsMixin.SessionAttributeProperty>- See Also:
-
builder
-