Interface CfnBot.PostDialogCodeHookInvocationSpecificationProperty

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

@Stability(Stable) public static interface CfnBot.PostDialogCodeHookInvocationSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Specifies next steps to run after the dialog code hook finishes.

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_;
 PostDialogCodeHookInvocationSpecificationProperty postDialogCodeHookInvocationSpecificationProperty = 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();
 
  • Method Details

    • getFailureConditional

      @Stability(Stable) @Nullable default Object getFailureConditional()
      A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .
    • getFailureNextStep

      @Stability(Stable) @Nullable default Object getFailureNextStep()
      Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .
    • getFailureResponse

      @Stability(Stable) @Nullable default Object getFailureResponse()
      Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.
    • getSuccessConditional

      @Stability(Stable) @Nullable default Object getSuccessConditional()
      A list of conditional branches to evaluate after the dialog code hook finishes successfully.
    • getSuccessNextStep

      @Stability(Stable) @Nullable default Object getSuccessNextStep()
      Specifics the next step the bot runs after the dialog code hook finishes successfully.
    • getSuccessResponse

      @Stability(Stable) @Nullable default Object getSuccessResponse()
      Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
    • getTimeoutConditional

      @Stability(Stable) @Nullable default Object getTimeoutConditional()
      A list of conditional branches to evaluate if the code hook times out.
    • getTimeoutNextStep

      @Stability(Stable) @Nullable default Object getTimeoutNextStep()
      Specifies the next step that the bot runs when the code hook times out.
    • getTimeoutResponse

      @Stability(Stable) @Nullable default Object getTimeoutResponse()
      Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.
    • builder

      Returns:
      a CfnBot.PostDialogCodeHookInvocationSpecificationProperty.Builder of CfnBot.PostDialogCodeHookInvocationSpecificationProperty