public static interface SlotValueElicitationSetting.Builder extends SdkPojo, CopyableBuilder<SlotValueElicitationSetting.Builder,SlotValueElicitationSetting>
| Modifier and Type | Method and Description |
|---|---|
default SlotValueElicitationSetting.Builder |
defaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification)
A list of default values for a slot.
|
SlotValueElicitationSetting.Builder |
defaultValueSpecification(SlotDefaultValueSpecification defaultValueSpecification)
A list of default values for a slot.
|
default SlotValueElicitationSetting.Builder |
promptSpecification(Consumer<PromptSpecification.Builder> promptSpecification)
The prompt that Amazon Lex uses to elicit the slot value from the user.
|
SlotValueElicitationSetting.Builder |
promptSpecification(PromptSpecification promptSpecification)
The prompt that Amazon Lex uses to elicit the slot value from the user.
|
SlotValueElicitationSetting.Builder |
sampleUtterances(Collection<SampleUtterance> 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.
|
SlotValueElicitationSetting.Builder |
sampleUtterances(Consumer<SampleUtterance.Builder>... 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.
|
SlotValueElicitationSetting.Builder |
sampleUtterances(SampleUtterance... 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.
|
default SlotValueElicitationSetting.Builder |
slotCaptureSetting(Consumer<SlotCaptureSetting.Builder> slotCaptureSetting)
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
|
SlotValueElicitationSetting.Builder |
slotCaptureSetting(SlotCaptureSetting slotCaptureSetting)
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
|
SlotValueElicitationSetting.Builder |
slotConstraint(SlotConstraint slotConstraint)
Specifies whether the slot is required or optional.
|
SlotValueElicitationSetting.Builder |
slotConstraint(String slotConstraint)
Specifies whether the slot is required or optional.
|
default SlotValueElicitationSetting.Builder |
waitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification)
Sets the value of the WaitAndContinueSpecification property for this object.
|
SlotValueElicitationSetting.Builder |
waitAndContinueSpecification(WaitAndContinueSpecification waitAndContinueSpecification)
Sets the value of the WaitAndContinueSpecification property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotValueElicitationSetting.Builder defaultValueSpecification(SlotDefaultValueSpecification 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.
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.default SlotValueElicitationSetting.Builder defaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> 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 is a convenience method that creates an instance of theSlotDefaultValueSpecification.Builder
avoiding the need to create one manually via SlotDefaultValueSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to defaultValueSpecification(SlotDefaultValueSpecification).
defaultValueSpecification - a consumer that will call methods on SlotDefaultValueSpecification.BuilderdefaultValueSpecification(SlotDefaultValueSpecification)SlotValueElicitationSetting.Builder slotConstraint(String slotConstraint)
Specifies whether the slot is required or optional.
slotConstraint - Specifies whether the slot is required or optional.SlotConstraint,
SlotConstraintSlotValueElicitationSetting.Builder slotConstraint(SlotConstraint slotConstraint)
Specifies whether the slot is required or optional.
slotConstraint - Specifies whether the slot is required or optional.SlotConstraint,
SlotConstraintSlotValueElicitationSetting.Builder promptSpecification(PromptSpecification promptSpecification)
The prompt that Amazon Lex uses to elicit the slot value from the user.
promptSpecification - The prompt that Amazon Lex uses to elicit the slot value from the user.default SlotValueElicitationSetting.Builder promptSpecification(Consumer<PromptSpecification.Builder> promptSpecification)
The prompt that Amazon Lex uses to elicit the slot value from the user.
This is a convenience method that creates an instance of thePromptSpecification.Builder avoiding the
need to create one manually via PromptSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to promptSpecification(PromptSpecification).
promptSpecification - a consumer that will call methods on PromptSpecification.BuilderpromptSpecification(PromptSpecification)SlotValueElicitationSetting.Builder sampleUtterances(Collection<SampleUtterance> 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.
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.SlotValueElicitationSetting.Builder sampleUtterances(SampleUtterance... 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.
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.SlotValueElicitationSetting.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... 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 is a convenience method that creates an instance of theSampleUtterance.Builder avoiding the need to create
one manually via SampleUtterance.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sampleUtterances(List.
sampleUtterances - a consumer that will call methods on
SampleUtterance.Builder#sampleUtterances(java.util.Collection) SlotValueElicitationSetting.Builder waitAndContinueSpecification(WaitAndContinueSpecification waitAndContinueSpecification)
waitAndContinueSpecification - The new value for the WaitAndContinueSpecification property for this object.default SlotValueElicitationSetting.Builder waitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification)
WaitAndContinueSpecification.Builder
avoiding the need to create one manually via WaitAndContinueSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to waitAndContinueSpecification(WaitAndContinueSpecification).
waitAndContinueSpecification - a consumer that will call methods on WaitAndContinueSpecification.BuilderwaitAndContinueSpecification(WaitAndContinueSpecification)SlotValueElicitationSetting.Builder slotCaptureSetting(SlotCaptureSetting slotCaptureSetting)
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
slotCaptureSetting - Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.default SlotValueElicitationSetting.Builder slotCaptureSetting(Consumer<SlotCaptureSetting.Builder> slotCaptureSetting)
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
This is a convenience method that creates an instance of theSlotCaptureSetting.Builder avoiding the
need to create one manually via SlotCaptureSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to slotCaptureSetting(SlotCaptureSetting).
slotCaptureSetting - a consumer that will call methods on SlotCaptureSetting.BuilderslotCaptureSetting(SlotCaptureSetting)Copyright © 2022. All rights reserved.