Interface CfnBot.IntentConfirmationSettingProperty

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

@Stability(Stable) public static interface CfnBot.IntentConfirmationSettingProperty extends software.amazon.jsii.JsiiSerializable
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.

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_;
 IntentConfirmationSettingProperty intentConfirmationSettingProperty = IntentConfirmationSettingProperty.builder()
         .promptSpecification(PromptSpecificationProperty.builder()
                 .maxRetries(123)
                 .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)
                 .messageSelectionStrategy("messageSelectionStrategy")
                 .promptAttemptsSpecification(Map.of(
                         "promptAttemptsSpecificationKey", PromptAttemptSpecificationProperty.builder()
                                 .allowedInputTypes(AllowedInputTypesProperty.builder()
                                         .allowAudioInput(false)
                                         .allowDtmfInput(false)
                                         .build())
                                 // the properties below are optional
                                 .allowInterrupt(false)
                                 .audioAndDtmfInputSpecification(AudioAndDTMFInputSpecificationProperty.builder()
                                         .startTimeoutMs(123)
                                         // the properties below are optional
                                         .audioSpecification(AudioSpecificationProperty.builder()
                                                 .endTimeoutMs(123)
                                                 .maxLengthMs(123)
                                                 .build())
                                         .dtmfSpecification(DTMFSpecificationProperty.builder()
                                                 .deletionCharacter("deletionCharacter")
                                                 .endCharacter("endCharacter")
                                                 .endTimeoutMs(123)
                                                 .maxLength(123)
                                                 .build())
                                         .build())
                                 .textInputSpecification(TextInputSpecificationProperty.builder()
                                         .startTimeoutMs(123)
                                         .build())
                                 .build()))
                 .build())
         // the properties below are optional
         .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())
         .confirmationConditional(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())
         .confirmationNextStep(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())
         .confirmationResponse(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())
         .declinationConditional(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())
         .declinationNextStep(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())
         .declinationResponse(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())
         .elicitationCodeHook(ElicitationCodeHookInvocationSettingProperty.builder()
                 .enableCodeHookInvocation(false)
                 // the properties below are optional
                 .invocationLabel("invocationLabel")
                 .build())
         .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())
         .isActive(false)
         .build();
 
  • Method Details

    • getPromptSpecification

      @Stability(Stable) @NotNull Object getPromptSpecification()
      Prompts the user to confirm the intent. This question should have a yes or no answer.

      Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the OrderPizza intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information.

    • getCodeHook

      @Stability(Stable) @Nullable default Object getCodeHook()
      The DialogCodeHookInvocationSetting object associated with intent's confirmation step.

      The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook .

    • getConfirmationConditional

      @Stability(Stable) @Nullable default Object getConfirmationConditional()
      A list of conditional branches to evaluate after the intent is closed.
    • getConfirmationNextStep

      @Stability(Stable) @Nullable default Object getConfirmationNextStep()
      Specifies the next step that the bot executes when the customer confirms the intent.
    • getConfirmationResponse

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

      @Stability(Stable) @Nullable default Object getDeclinationConditional()
      A list of conditional branches to evaluate after the intent is declined.
    • getDeclinationNextStep

      @Stability(Stable) @Nullable default Object getDeclinationNextStep()
      Specifies the next step that the bot executes when the customer declines the intent.
    • getDeclinationResponse

      @Stability(Stable) @Nullable default Object getDeclinationResponse()
      When the user answers "no" to the question defined in promptSpecification , Amazon Lex responds with this response to acknowledge that the intent was canceled.
    • getElicitationCodeHook

      @Stability(Stable) @Nullable default Object getElicitationCodeHook()
      The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.
    • getFailureConditional

      @Stability(Stable) @Nullable default Object getFailureConditional()
      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.

    • getFailureNextStep

      @Stability(Stable) @Nullable default Object getFailureNextStep()
      The next step to take in the conversation if the confirmation step fails.
    • getFailureResponse

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

      @Stability(Stable) @Nullable default Object getIsActive()
      Specifies whether the intent's confirmation is sent to the user.

      When this field is false, confirmation and declination responses aren't sent. If the IsActive field isn't specified, the default is true.

    • builder

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