#[non_exhaustive]pub struct SlotResolutionSettingBuilder { /* private fields */ }Expand description
A builder for SlotResolutionSetting.
Implementations§
source§impl SlotResolutionSettingBuilder
impl SlotResolutionSettingBuilder
sourcepub fn slot_resolution_strategy(self, input: SlotResolutionStrategy) -> Self
pub fn slot_resolution_strategy(self, input: SlotResolutionStrategy) -> Self
Specifies whether assisted slot resolution is turned on for the slot or not. If the value is EnhancedFallback, assisted slot resolution is activated when Amazon Lex defaults to the AMAZON.FallbackIntent. If the value is Default, assisted slot resolution is turned off.
sourcepub fn set_slot_resolution_strategy(
self,
input: Option<SlotResolutionStrategy>
) -> Self
pub fn set_slot_resolution_strategy( self, input: Option<SlotResolutionStrategy> ) -> Self
Specifies whether assisted slot resolution is turned on for the slot or not. If the value is EnhancedFallback, assisted slot resolution is activated when Amazon Lex defaults to the AMAZON.FallbackIntent. If the value is Default, assisted slot resolution is turned off.
sourcepub fn get_slot_resolution_strategy(&self) -> &Option<SlotResolutionStrategy>
pub fn get_slot_resolution_strategy(&self) -> &Option<SlotResolutionStrategy>
Specifies whether assisted slot resolution is turned on for the slot or not. If the value is EnhancedFallback, assisted slot resolution is activated when Amazon Lex defaults to the AMAZON.FallbackIntent. If the value is Default, assisted slot resolution is turned off.
sourcepub fn build(self) -> Result<SlotResolutionSetting, BuildError>
pub fn build(self) -> Result<SlotResolutionSetting, BuildError>
Consumes the builder and constructs a SlotResolutionSetting.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SlotResolutionSettingBuilder
impl Clone for SlotResolutionSettingBuilder
source§fn clone(&self) -> SlotResolutionSettingBuilder
fn clone(&self) -> SlotResolutionSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SlotResolutionSettingBuilder
impl Debug for SlotResolutionSettingBuilder
source§impl Default for SlotResolutionSettingBuilder
impl Default for SlotResolutionSettingBuilder
source§fn default() -> SlotResolutionSettingBuilder
fn default() -> SlotResolutionSettingBuilder
source§impl PartialEq for SlotResolutionSettingBuilder
impl PartialEq for SlotResolutionSettingBuilder
source§fn eq(&self, other: &SlotResolutionSettingBuilder) -> bool
fn eq(&self, other: &SlotResolutionSettingBuilder) -> bool
self and other values to be equal, and is used
by ==.