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:
OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
TopResolution - 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 OriginalValue.
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:
OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
TopResolution - 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 OriginalValue.
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:
OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
TopResolution - 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 OriginalValue.
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:
OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
TopResolution - 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 OriginalValue.
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.
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.
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 © 2022. All rights reserved.