Interface CfnBot.DefaultConditionalBranchProperty
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 CfnBot.DefaultConditionalBranchProperty.Jsii$Proxy
- Enclosing class:
 CfnBot
@Stability(Stable)
public static interface CfnBot.DefaultConditionalBranchProperty
extends software.amazon.jsii.JsiiSerializable
A set of actions that Amazon Lex should run if none of the other conditions are met.
 
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_;
 DefaultConditionalBranchProperty defaultConditionalBranchProperty = DefaultConditionalBranchProperty.builder()
         .nextStep(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())
         .response(ResponseSpecificationProperty.builder()
                 .messageGroupsList(List.of(MessageGroupProperty.builder()
                         .message(MessageProperty.builder()
                                 .customPayload(CustomPayloadProperty.builder()
                                         .value("value")
                                         .build())
                                 .imageResponseCard(ImageResponseCardProperty.builder()
                                         .title("title")
                                         // the properties below are optional
                                         .buttons(List.of(ButtonProperty.builder()
                                                 .text("text")
                                                 .value("value")
                                                 .build()))
                                         .imageUrl("imageUrl")
                                         .subtitle("subtitle")
                                         .build())
                                 .plainTextMessage(PlainTextMessageProperty.builder()
                                         .value("value")
                                         .build())
                                 .ssmlMessage(SSMLMessageProperty.builder()
                                         .value("value")
                                         .build())
                                 .build())
                         // the properties below are optional
                         .variations(List.of(MessageProperty.builder()
                                 .customPayload(CustomPayloadProperty.builder()
                                         .value("value")
                                         .build())
                                 .imageResponseCard(ImageResponseCardProperty.builder()
                                         .title("title")
                                         // the properties below are optional
                                         .buttons(List.of(ButtonProperty.builder()
                                                 .text("text")
                                                 .value("value")
                                                 .build()))
                                         .imageUrl("imageUrl")
                                         .subtitle("subtitle")
                                         .build())
                                 .plainTextMessage(PlainTextMessageProperty.builder()
                                         .value("value")
                                         .build())
                                 .ssmlMessage(SSMLMessageProperty.builder()
                                         .value("value")
                                         .build())
                                 .build()))
                         .build()))
                 // the properties below are optional
                 .allowInterrupt(false)
                 .build())
         .build();
 
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.DefaultConditionalBranchPropertystatic final classAn implementation forCfnBot.DefaultConditionalBranchProperty - 
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getNextStep
The next step in the conversation.Returns union: either
IResolvableorCfnBot.DialogStateProperty- See Also:
 
 - 
getResponse
Specifies a list of message groups that Amazon Lex uses to respond the user input.Returns union: either
IResolvableorCfnBot.ResponseSpecificationProperty- See Also:
 
 - 
builder
 
 -