Interface CfnBot.InitialResponseSettingProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBot.InitialResponseSettingProperty.Jsii$Proxy
Enclosing class:
CfnBot

@Stability(Stable) public static interface CfnBot.InitialResponseSettingProperty extends software.amazon.jsii.JsiiSerializable
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.

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_;
 InitialResponseSettingProperty initialResponseSettingProperty = InitialResponseSettingProperty.builder()
         .codeHook(DialogCodeHookInvocationSettingProperty.builder()
                 .enableCodeHookInvocation(false)
                 .isActive(false)
                 .postCodeHookSpecification(PostDialogCodeHookInvocationSpecificationProperty.builder()
                         .failureConditional(ConditionalSpecificationProperty.builder()
                                 .conditionalBranches(List.of(ConditionalBranchProperty.builder()
                                         .condition(ConditionProperty.builder()
                                                 .expressionString("expressionString")
                                                 .build())
                                         .name("name")
                                         .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())
                                         // the properties below are optional
                                         .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()))
                                 .defaultBranch(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())
                                 .isActive(false)
                                 .build())
                         .failureNextStep(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())
                         .failureResponse(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())
                         .successConditional(ConditionalSpecificationProperty.builder()
                                 .conditionalBranches(List.of(ConditionalBranchProperty.builder()
                                         .condition(ConditionProperty.builder()
                                                 .expressionString("expressionString")
                                                 .build())
                                         .name("name")
                                         .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())
                                         // the properties below are optional
                                         .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()))
                                 .defaultBranch(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())
                                 .isActive(false)
                                 .build())
                         .successNextStep(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())
                         .successResponse(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())
                         .timeoutConditional(ConditionalSpecificationProperty.builder()
                                 .conditionalBranches(List.of(ConditionalBranchProperty.builder()
                                         .condition(ConditionProperty.builder()
                                                 .expressionString("expressionString")
                                                 .build())
                                         .name("name")
                                         .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())
                                         // the properties below are optional
                                         .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()))
                                 .defaultBranch(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())
                                 .isActive(false)
                                 .build())
                         .timeoutNextStep(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())
                         .timeoutResponse(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())
                 // the properties below are optional
                 .invocationLabel("invocationLabel")
                 .build())
         .conditional(ConditionalSpecificationProperty.builder()
                 .conditionalBranches(List.of(ConditionalBranchProperty.builder()
                         .condition(ConditionProperty.builder()
                                 .expressionString("expressionString")
                                 .build())
                         .name("name")
                         .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())
                         // the properties below are optional
                         .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()))
                 .defaultBranch(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())
                 .isActive(false)
                 .build())
         .initialResponse(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())
         .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())
         .build();
 
  • Method Details

    • getCodeHook

      @Stability(Stable) @Nullable default Object getCodeHook()
      Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
    • getConditional

      @Stability(Stable) @Nullable default Object getConditional()
      Provides a list of conditional branches.

      Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

    • getInitialResponse

      @Stability(Stable) @Nullable default Object getInitialResponse()
      Specifies a list of message groups that Amazon Lex uses to respond the user input.
    • getNextStep

      @Stability(Stable) @Nullable default Object getNextStep()
      The next step in the conversation.
    • builder

      @Stability(Stable) static CfnBot.InitialResponseSettingProperty.Builder builder()
      Returns:
      a CfnBot.InitialResponseSettingProperty.Builder of CfnBot.InitialResponseSettingProperty