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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.