Struct aws_sdk_lexmodelsv2::types::builders::SpecificationsBuilder
source · #[non_exhaustive]pub struct SpecificationsBuilder { /* private fields */ }Expand description
A builder for Specifications.
Implementations§
source§impl SpecificationsBuilder
impl SpecificationsBuilder
sourcepub fn slot_type_id(self, input: impl Into<String>) -> Self
pub fn slot_type_id(self, input: impl Into<String>) -> Self
The unique identifier assigned to the slot type.
This field is required.sourcepub fn set_slot_type_id(self, input: Option<String>) -> Self
pub fn set_slot_type_id(self, input: Option<String>) -> Self
The unique identifier assigned to the slot type.
sourcepub fn get_slot_type_id(&self) -> &Option<String>
pub fn get_slot_type_id(&self) -> &Option<String>
The unique identifier assigned to the slot type.
sourcepub fn value_elicitation_setting(
self,
input: SubSlotValueElicitationSetting
) -> Self
pub fn value_elicitation_setting( self, input: SubSlotValueElicitationSetting ) -> Self
Specifies the elicitation setting details for constituent sub slots of a composite slot.
This field is required.sourcepub fn set_value_elicitation_setting(
self,
input: Option<SubSlotValueElicitationSetting>
) -> Self
pub fn set_value_elicitation_setting( self, input: Option<SubSlotValueElicitationSetting> ) -> Self
Specifies the elicitation setting details for constituent sub slots of a composite slot.
sourcepub fn get_value_elicitation_setting(
&self
) -> &Option<SubSlotValueElicitationSetting>
pub fn get_value_elicitation_setting( &self ) -> &Option<SubSlotValueElicitationSetting>
Specifies the elicitation setting details for constituent sub slots of a composite slot.
sourcepub fn build(self) -> Result<Specifications, BuildError>
pub fn build(self) -> Result<Specifications, BuildError>
Consumes the builder and constructs a Specifications.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SpecificationsBuilder
impl Clone for SpecificationsBuilder
source§fn clone(&self) -> SpecificationsBuilder
fn clone(&self) -> SpecificationsBuilder
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 SpecificationsBuilder
impl Debug for SpecificationsBuilder
source§impl Default for SpecificationsBuilder
impl Default for SpecificationsBuilder
source§fn default() -> SpecificationsBuilder
fn default() -> SpecificationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SpecificationsBuilder
impl PartialEq for SpecificationsBuilder
source§fn eq(&self, other: &SpecificationsBuilder) -> bool
fn eq(&self, other: &SpecificationsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SpecificationsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SpecificationsBuilder
impl Send for SpecificationsBuilder
impl Sync for SpecificationsBuilder
impl Unpin for SpecificationsBuilder
impl UnwindSafe for SpecificationsBuilder
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.