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 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 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<SlotTypeValueBuilder> for SlotTypeValueBuilder
impl PartialEq<SlotTypeValueBuilder> 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 ==.