public static interface SlotValueSelectionSetting.Builder extends SdkPojo, CopyableBuilder<SlotValueSelectionSetting.Builder,SlotValueSelectionSetting>
| Modifier and Type | Method and Description |
|---|---|
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 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)Copyright © 2021. All rights reserved.