#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for SlotValueSelectionSetting
Implementations
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.
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.
A regular expression used to validate the value of a slot.
A regular expression used to validate the value of a slot.
Provides settings that enable advanced recognition settings for slot values.
pub fn set_advanced_recognition_setting(
self,
input: Option<AdvancedRecognitionSetting>
) -> Self
pub fn set_advanced_recognition_setting(
self,
input: Option<AdvancedRecognitionSetting>
) -> Self
Provides settings that enable advanced recognition settings for slot values.
Consumes the builder and constructs a SlotValueSelectionSetting
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more