Struct aws_sdk_lexmodelsv2::types::builders::SlotValueBuilder
source · #[non_exhaustive]pub struct SlotValueBuilder { /* private fields */ }Expand description
A builder for SlotValue.
Implementations§
source§impl SlotValueBuilder
impl SlotValueBuilder
sourcepub fn interpreted_value(self, input: impl Into<String>) -> Self
pub fn interpreted_value(self, input: impl Into<String>) -> Self
The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
sourcepub fn set_interpreted_value(self, input: Option<String>) -> Self
pub fn set_interpreted_value(self, input: Option<String>) -> Self
The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
Trait Implementations§
source§impl Clone for SlotValueBuilder
impl Clone for SlotValueBuilder
source§fn clone(&self) -> SlotValueBuilder
fn clone(&self) -> SlotValueBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SlotValueBuilder
impl Debug for SlotValueBuilder
source§impl Default for SlotValueBuilder
impl Default for SlotValueBuilder
source§fn default() -> SlotValueBuilder
fn default() -> SlotValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SlotValueBuilder> for SlotValueBuilder
impl PartialEq<SlotValueBuilder> for SlotValueBuilder
source§fn eq(&self, other: &SlotValueBuilder) -> bool
fn eq(&self, other: &SlotValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlotValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SlotValueBuilder
impl Send for SlotValueBuilder
impl Sync for SlotValueBuilder
impl Unpin for SlotValueBuilder
impl UnwindSafe for SlotValueBuilder
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
Mutably borrows from an owned value. Read more