Interface CfnBot.SlotProperty

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

@Stability(Stable) public static interface CfnBot.SlotProperty extends software.amazon.jsii.JsiiSerializable
Specifies the definition of a slot.

Amazon Lex elicits slot values from uses to fulfill the user's intent.

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_;
 SlotProperty slotProperty = SlotProperty.builder()
         .name("name")
         .slotTypeName("slotTypeName")
         .valueElicitationSetting(SlotValueElicitationSettingProperty.builder()
                 .slotConstraint("slotConstraint")
                 // the properties below are optional
                 .defaultValueSpecification(SlotDefaultValueSpecificationProperty.builder()
                         .defaultValueList(List.of(SlotDefaultValueProperty.builder()
                                 .defaultValue("defaultValue")
                                 .build()))
                         .build())
                 .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())
                 .sampleUtterances(List.of(SampleUtteranceProperty.builder()
                         .utterance("utterance")
                         .build()))
                 .slotCaptureSetting(SlotCaptureSettingProperty.builder()
                         .captureConditional(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())
                         .captureNextStep(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())
                         .captureResponse(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())
                         .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())
                         .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())
                         .build())
                 .waitAndContinueSpecification(WaitAndContinueSpecificationProperty.builder()
                         .continueResponse(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())
                         .waitingResponse(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())
                         // the properties below are optional
                         .isActive(false)
                         .stillWaitingResponse(StillWaitingResponseSpecificationProperty.builder()
                                 .frequencyInSeconds(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()))
                                 .timeoutInSeconds(123)
                                 // the properties below are optional
                                 .allowInterrupt(false)
                                 .build())
                         .build())
                 .build())
         // the properties below are optional
         .description("description")
         .multipleValuesSetting(MultipleValuesSettingProperty.builder()
                 .allowMultipleValues(false)
                 .build())
         .obfuscationSetting(ObfuscationSettingProperty.builder()
                 .obfuscationSettingType("obfuscationSettingType")
                 .build())
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name given to the slot.
    • getSlotTypeName

      @Stability(Stable) @NotNull String getSlotTypeName()
      The name of the slot type that this slot is based on.

      The slot type defines the acceptable values for the slot.

    • getValueElicitationSetting

      @Stability(Stable) @NotNull Object getValueElicitationSetting()
      Determines the slot resolution strategy that Amazon Lex uses to return slot type values.

      The field can be set to one of the following values:

      • ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to a slot value.
      • TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.

      If you don't specify the valueSelectionStrategy , the default is ORIGINAL_VALUE .

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the slot.
    • getMultipleValuesSetting

      @Stability(Stable) @Nullable default Object getMultipleValuesSetting()
      Indicates whether a slot can return multiple values.
    • getObfuscationSetting

      @Stability(Stable) @Nullable default Object getObfuscationSetting()
      Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.

      Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.

    • builder

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