Struct aws_sdk_lexruntimev2::types::builders::ElicitSubSlotBuilder
source · #[non_exhaustive]pub struct ElicitSubSlotBuilder { /* private fields */ }Expand description
A builder for ElicitSubSlot.
Implementations§
source§impl ElicitSubSlotBuilder
impl ElicitSubSlotBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the slot that should be elicited from the user.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the slot that should be elicited from the user.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the slot that should be elicited from the user.
sourcepub fn sub_slot_to_elicit(self, input: impl Into<Box<ElicitSubSlot>>) -> Self
pub fn sub_slot_to_elicit(self, input: impl Into<Box<ElicitSubSlot>>) -> Self
The field is not supported.
sourcepub fn set_sub_slot_to_elicit(self, input: Option<Box<ElicitSubSlot>>) -> Self
pub fn set_sub_slot_to_elicit(self, input: Option<Box<ElicitSubSlot>>) -> Self
The field is not supported.
sourcepub fn get_sub_slot_to_elicit(&self) -> &Option<Box<ElicitSubSlot>>
pub fn get_sub_slot_to_elicit(&self) -> &Option<Box<ElicitSubSlot>>
The field is not supported.
sourcepub fn build(self) -> Result<ElicitSubSlot, BuildError>
pub fn build(self) -> Result<ElicitSubSlot, BuildError>
Consumes the builder and constructs a ElicitSubSlot.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ElicitSubSlotBuilder
impl Clone for ElicitSubSlotBuilder
source§fn clone(&self) -> ElicitSubSlotBuilder
fn clone(&self) -> ElicitSubSlotBuilder
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 ElicitSubSlotBuilder
impl Debug for ElicitSubSlotBuilder
source§impl Default for ElicitSubSlotBuilder
impl Default for ElicitSubSlotBuilder
source§fn default() -> ElicitSubSlotBuilder
fn default() -> ElicitSubSlotBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ElicitSubSlotBuilder
impl PartialEq for ElicitSubSlotBuilder
source§fn eq(&self, other: &ElicitSubSlotBuilder) -> bool
fn eq(&self, other: &ElicitSubSlotBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ElicitSubSlotBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ElicitSubSlotBuilder
impl Send for ElicitSubSlotBuilder
impl Sync for ElicitSubSlotBuilder
impl Unpin for ElicitSubSlotBuilder
impl UnwindSafe for ElicitSubSlotBuilder
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.