#[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 ==.impl StructuralPartialEq for SlotResolutionSettingBuilder
Auto Trait Implementations§
impl Freeze for SlotResolutionSettingBuilder
impl RefUnwindSafe for SlotResolutionSettingBuilder
impl Send for SlotResolutionSettingBuilder
impl Sync for SlotResolutionSettingBuilder
impl Unpin for SlotResolutionSettingBuilder
impl UnwindSafe for SlotResolutionSettingBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more