Struct aws_sdk_lexmodelsv2::types::builders::SlotSummaryBuilder
source · #[non_exhaustive]pub struct SlotSummaryBuilder { /* private fields */ }Expand description
A builder for SlotSummary.
Implementations§
source§impl SlotSummaryBuilder
impl SlotSummaryBuilder
sourcepub fn set_slot_id(self, input: Option<String>) -> Self
pub fn set_slot_id(self, input: Option<String>) -> Self
The unique identifier of the slot.
sourcepub fn get_slot_id(&self) -> &Option<String>
pub fn get_slot_id(&self) -> &Option<String>
The unique identifier of the slot.
sourcepub fn set_slot_name(self, input: Option<String>) -> Self
pub fn set_slot_name(self, input: Option<String>) -> Self
The name given to the slot.
sourcepub fn get_slot_name(&self) -> &Option<String>
pub fn get_slot_name(&self) -> &Option<String>
The name given to the slot.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the slot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the slot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the slot.
sourcepub fn slot_constraint(self, input: SlotConstraint) -> Self
pub fn slot_constraint(self, input: SlotConstraint) -> Self
Whether the slot is required or optional. An intent is complete when all required slots are filled.
sourcepub fn set_slot_constraint(self, input: Option<SlotConstraint>) -> Self
pub fn set_slot_constraint(self, input: Option<SlotConstraint>) -> Self
Whether the slot is required or optional. An intent is complete when all required slots are filled.
sourcepub fn get_slot_constraint(&self) -> &Option<SlotConstraint>
pub fn get_slot_constraint(&self) -> &Option<SlotConstraint>
Whether the slot is required or optional. An intent is complete when all required slots are filled.
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 for the slot type that defines the values for the slot.
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 for the slot type that defines the values for the slot.
sourcepub fn get_slot_type_id(&self) -> &Option<String>
pub fn get_slot_type_id(&self) -> &Option<String>
The unique identifier for the slot type that defines the values for the slot.
sourcepub fn value_elicitation_prompt_specification(
self,
input: PromptSpecification,
) -> Self
pub fn value_elicitation_prompt_specification( self, input: PromptSpecification, ) -> Self
Prompts that are sent to the user to elicit a value for the slot.
sourcepub fn set_value_elicitation_prompt_specification(
self,
input: Option<PromptSpecification>,
) -> Self
pub fn set_value_elicitation_prompt_specification( self, input: Option<PromptSpecification>, ) -> Self
Prompts that are sent to the user to elicit a value for the slot.
sourcepub fn get_value_elicitation_prompt_specification(
&self,
) -> &Option<PromptSpecification>
pub fn get_value_elicitation_prompt_specification( &self, ) -> &Option<PromptSpecification>
Prompts that are sent to the user to elicit a value for the slot.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The timestamp of the last date and time that the slot was updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The timestamp of the last date and time that the slot was updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The timestamp of the last date and time that the slot was updated.
sourcepub fn build(self) -> SlotSummary
pub fn build(self) -> SlotSummary
Consumes the builder and constructs a SlotSummary.
Trait Implementations§
source§impl Clone for SlotSummaryBuilder
impl Clone for SlotSummaryBuilder
source§fn clone(&self) -> SlotSummaryBuilder
fn clone(&self) -> SlotSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SlotSummaryBuilder
impl Debug for SlotSummaryBuilder
source§impl Default for SlotSummaryBuilder
impl Default for SlotSummaryBuilder
source§fn default() -> SlotSummaryBuilder
fn default() -> SlotSummaryBuilder
source§impl PartialEq for SlotSummaryBuilder
impl PartialEq for SlotSummaryBuilder
impl StructuralPartialEq for SlotSummaryBuilder
Auto Trait Implementations§
impl Freeze for SlotSummaryBuilder
impl RefUnwindSafe for SlotSummaryBuilder
impl Send for SlotSummaryBuilder
impl Sync for SlotSummaryBuilder
impl Unpin for SlotSummaryBuilder
impl UnwindSafe for SlotSummaryBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more