@Stability(value=Stable) public static final class CfnBot.SlotValueElicitationSettingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.SlotValueElicitationSettingProperty>
CfnBot.SlotValueElicitationSettingProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder slotConstraint(String slotConstraint)
CfnBot.SlotValueElicitationSettingProperty.getSlotConstraint()slotConstraint - Specifies whether the slot is required or optional. This parameter is required.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder defaultValueSpecification(CfnBot.SlotDefaultValueSpecificationProperty defaultValueSpecification)
defaultValueSpecification - 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.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder defaultValueSpecification(IResolvable defaultValueSpecification)
defaultValueSpecification - 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.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder promptSpecification(CfnBot.PromptSpecificationProperty promptSpecification)
CfnBot.SlotValueElicitationSettingProperty.getPromptSpecification()promptSpecification - The prompt that Amazon Lex uses to elicit the slot value from the user.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder promptSpecification(IResolvable promptSpecification)
CfnBot.SlotValueElicitationSettingProperty.getPromptSpecification()promptSpecification - The prompt that Amazon Lex uses to elicit the slot value from the user.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder sampleUtterances(IResolvable sampleUtterances)
CfnBot.SlotValueElicitationSettingProperty.getSampleUtterances()sampleUtterances - 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.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder sampleUtterances(List<? extends Object> sampleUtterances)
CfnBot.SlotValueElicitationSettingProperty.getSampleUtterances()sampleUtterances - 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.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder waitAndContinueSpecification(CfnBot.WaitAndContinueSpecificationProperty waitAndContinueSpecification)
waitAndContinueSpecification - Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty.Builder waitAndContinueSpecification(IResolvable waitAndContinueSpecification)
waitAndContinueSpecification - Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.this@Stability(value=Stable) public CfnBot.SlotValueElicitationSettingProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.SlotValueElicitationSettingProperty>CfnBot.SlotValueElicitationSettingPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.