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 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 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 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 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 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 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 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<SlotSummaryBuilder> for SlotSummaryBuilder
impl PartialEq<SlotSummaryBuilder> for SlotSummaryBuilder
source§fn eq(&self, other: &SlotSummaryBuilder) -> bool
fn eq(&self, other: &SlotSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.