Interface CfnBot.SlotValueElicitationSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.SlotValueElicitationSettingProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.SlotValueElicitationSettingProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the elicitation setting details eliciting a slot.
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_; SlotValueElicitationSettingProperty slotValueElicitationSettingProperty = 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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.SlotValueElicitationSettingProperty
static final class
An implementation forCfnBot.SlotValueElicitationSettingProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A list of default values for a slot.default Object
The prompt that Amazon Lex uses to elicit the slot value from the user.default Object
If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.default Object
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.Specifies whether the slot is required or optional.default Object
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSlotConstraint
Specifies whether the slot is required or optional. -
getDefaultValueSpecification
A list of default values for a slot.Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.
-
getPromptSpecification
The prompt that Amazon Lex uses to elicit the slot value from the user. -
getSampleUtterances
If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.This is optional. In most cases, Amazon Lex is capable of understanding user utterances.
-
getSlotCaptureSetting
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user. -
getWaitAndContinueSpecification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. -
builder
-