Struct aws_sdk_lexmodelsv2::types::builders::SlotTypeValueBuilder
source · #[non_exhaustive]pub struct SlotTypeValueBuilder { /* private fields */ }Expand description
A builder for SlotTypeValue.
Implementations§
source§impl SlotTypeValueBuilder
impl SlotTypeValueBuilder
sourcepub fn sample_value(self, input: SampleValue) -> Self
pub fn sample_value(self, input: SampleValue) -> Self
The value of the slot type entry.
sourcepub fn set_sample_value(self, input: Option<SampleValue>) -> Self
pub fn set_sample_value(self, input: Option<SampleValue>) -> Self
The value of the slot type entry.
sourcepub fn get_sample_value(&self) -> &Option<SampleValue>
pub fn get_sample_value(&self) -> &Option<SampleValue>
The value of the slot type entry.
sourcepub fn synonyms(self, input: SampleValue) -> Self
pub fn synonyms(self, input: SampleValue) -> Self
Appends an item to synonyms.
To override the contents of this collection use set_synonyms.
Additional values related to the slot type entry.
sourcepub fn set_synonyms(self, input: Option<Vec<SampleValue>>) -> Self
pub fn set_synonyms(self, input: Option<Vec<SampleValue>>) -> Self
Additional values related to the slot type entry.
sourcepub fn get_synonyms(&self) -> &Option<Vec<SampleValue>>
pub fn get_synonyms(&self) -> &Option<Vec<SampleValue>>
Additional values related to the slot type entry.
sourcepub fn build(self) -> SlotTypeValue
pub fn build(self) -> SlotTypeValue
Consumes the builder and constructs a SlotTypeValue.
Trait Implementations§
source§impl Clone for SlotTypeValueBuilder
impl Clone for SlotTypeValueBuilder
source§fn clone(&self) -> SlotTypeValueBuilder
fn clone(&self) -> SlotTypeValueBuilder
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 SlotTypeValueBuilder
impl Debug for SlotTypeValueBuilder
source§impl Default for SlotTypeValueBuilder
impl Default for SlotTypeValueBuilder
source§fn default() -> SlotTypeValueBuilder
fn default() -> SlotTypeValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SlotTypeValueBuilder
impl PartialEq for SlotTypeValueBuilder
source§fn eq(&self, other: &SlotTypeValueBuilder) -> bool
fn eq(&self, other: &SlotTypeValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlotTypeValueBuilder
Auto Trait Implementations§
impl Freeze for SlotTypeValueBuilder
impl RefUnwindSafe for SlotTypeValueBuilder
impl Send for SlotTypeValueBuilder
impl Sync for SlotTypeValueBuilder
impl Unpin for SlotTypeValueBuilder
impl UnwindSafe for SlotTypeValueBuilder
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
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>
Creates a shared type from an unshared type.