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:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.SlotValueElicitationSettingPropertystatic final classAn implementation forCfnBot.SlotValueElicitationSettingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of default values for a slot.default ObjectThe prompt that Amazon Lex uses to elicit the slot value from the user.default ObjectIf 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 ObjectSpecifies 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 ObjectSpecifies 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.- See Also:
-
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.
Returns union: either
IResolvableorCfnBot.SlotDefaultValueSpecificationProperty- See Also:
-
getPromptSpecification
The prompt that Amazon Lex uses to elicit the slot value from the user.Returns union: either
IResolvableorCfnBot.PromptSpecificationProperty- See Also:
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBot.SampleUtteranceProperty>- See Also:
-
getSlotCaptureSetting
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.Returns union: either
IResolvableorCfnBot.SlotCaptureSettingProperty- See Also:
-
getWaitAndContinueSpecification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.Returns union: either
IResolvableorCfnBot.WaitAndContinueSpecificationProperty- See Also:
-
builder
-