public static interface SlotValueSelectionSetting.Builder extends SdkPojo, CopyableBuilder<SlotValueSelectionSetting.Builder,SlotValueSelectionSetting>
| Modifier and Type | Method and Description |
|---|---|
SlotValueSelectionSetting.Builder |
advancedRecognitionSetting(AdvancedRecognitionSetting advancedRecognitionSetting)
Provides settings that enable advanced recognition settings for slot values.
|
default SlotValueSelectionSetting.Builder |
advancedRecognitionSetting(Consumer<AdvancedRecognitionSetting.Builder> advancedRecognitionSetting)
Provides settings that enable advanced recognition settings for slot values.
|
default SlotValueSelectionSetting.Builder |
regexFilter(Consumer<SlotValueRegexFilter.Builder> regexFilter)
A regular expression used to validate the value of a slot.
|
SlotValueSelectionSetting.Builder |
regexFilter(SlotValueRegexFilter regexFilter)
A regular expression used to validate the value of a slot.
|
SlotValueSelectionSetting.Builder |
resolutionStrategy(SlotValueResolutionStrategy resolutionStrategy)
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
|
SlotValueSelectionSetting.Builder |
resolutionStrategy(String resolutionStrategy)
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotValueSelectionSetting.Builder resolutionStrategy(String resolutionStrategy)
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 the 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.
resolutionStrategy - 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
the 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.
SlotValueResolutionStrategy,
SlotValueResolutionStrategySlotValueSelectionSetting.Builder resolutionStrategy(SlotValueResolutionStrategy resolutionStrategy)
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 the 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.
resolutionStrategy - 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
the 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.
SlotValueResolutionStrategy,
SlotValueResolutionStrategySlotValueSelectionSetting.Builder regexFilter(SlotValueRegexFilter regexFilter)
A regular expression used to validate the value of a slot.
regexFilter - A regular expression used to validate the value of a slot.default SlotValueSelectionSetting.Builder regexFilter(Consumer<SlotValueRegexFilter.Builder> regexFilter)
A regular expression used to validate the value of a slot.
This is a convenience method that creates an instance of theSlotValueRegexFilter.Builder avoiding
the need to create one manually via SlotValueRegexFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to regexFilter(SlotValueRegexFilter).
regexFilter - a consumer that will call methods on SlotValueRegexFilter.BuilderregexFilter(SlotValueRegexFilter)SlotValueSelectionSetting.Builder advancedRecognitionSetting(AdvancedRecognitionSetting advancedRecognitionSetting)
Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
advancedRecognitionSetting - Provides settings that enable advanced recognition settings for slot values. You can use this to
enable using slot values as a custom vocabulary for recognizing user utterances.default SlotValueSelectionSetting.Builder advancedRecognitionSetting(Consumer<AdvancedRecognitionSetting.Builder> advancedRecognitionSetting)
Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
This is a convenience method that creates an instance of theAdvancedRecognitionSetting.Builder
avoiding the need to create one manually via AdvancedRecognitionSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to advancedRecognitionSetting(AdvancedRecognitionSetting).
advancedRecognitionSetting - a consumer that will call methods on AdvancedRecognitionSetting.BuilderadvancedRecognitionSetting(AdvancedRecognitionSetting)Copyright © 2023. All rights reserved.