#[non_exhaustive]pub struct UpdateSlotOutputBuilder { /* private fields */ }Expand description
A builder for UpdateSlotOutput.
Implementations§
source§impl UpdateSlotOutputBuilder
impl UpdateSlotOutputBuilder
sourcepub fn slot_id(self, input: impl Into<String>) -> Self
pub fn slot_id(self, input: impl Into<String>) -> Self
The unique identifier of the slot that was updated.
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 that was updated.
sourcepub fn get_slot_id(&self) -> &Option<String>
pub fn get_slot_id(&self) -> &Option<String>
The unique identifier of the slot that was updated.
sourcepub fn set_slot_name(self, input: Option<String>) -> Self
pub fn set_slot_name(self, input: Option<String>) -> Self
The updated name of the slot.
sourcepub fn get_slot_name(&self) -> &Option<String>
pub fn get_slot_name(&self) -> &Option<String>
The updated name of the slot.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated description of the bot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated description of the bot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated description of the bot.
sourcepub fn slot_type_id(self, input: impl Into<String>) -> Self
pub fn slot_type_id(self, input: impl Into<String>) -> Self
The updated identifier of the slot type that provides 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 updated identifier of the slot type that provides values for the slot.
sourcepub fn get_slot_type_id(&self) -> &Option<String>
pub fn get_slot_type_id(&self) -> &Option<String>
The updated identifier of the slot type that provides values for the slot.
sourcepub fn value_elicitation_setting(
self,
input: SlotValueElicitationSetting
) -> Self
pub fn value_elicitation_setting( self, input: SlotValueElicitationSetting ) -> Self
The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.
sourcepub fn set_value_elicitation_setting(
self,
input: Option<SlotValueElicitationSetting>
) -> Self
pub fn set_value_elicitation_setting( self, input: Option<SlotValueElicitationSetting> ) -> Self
The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.
sourcepub fn get_value_elicitation_setting(
&self
) -> &Option<SlotValueElicitationSetting>
pub fn get_value_elicitation_setting( &self ) -> &Option<SlotValueElicitationSetting>
The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.
sourcepub fn obfuscation_setting(self, input: ObfuscationSetting) -> Self
pub fn obfuscation_setting(self, input: ObfuscationSetting) -> Self
The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
sourcepub fn set_obfuscation_setting(self, input: Option<ObfuscationSetting>) -> Self
pub fn set_obfuscation_setting(self, input: Option<ObfuscationSetting>) -> Self
The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
sourcepub fn get_obfuscation_setting(&self) -> &Option<ObfuscationSetting>
pub fn get_obfuscation_setting(&self) -> &Option<ObfuscationSetting>
The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot that contains the slot.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot that contains the slot.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot that contains the slot.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot that contains the slot. Will always be DRAFT.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot that contains the slot. Will always be DRAFT.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot that contains the slot. Will always be DRAFT.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The locale that contains the slot.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The locale that contains the slot.
sourcepub fn set_intent_id(self, input: Option<String>) -> Self
pub fn set_intent_id(self, input: Option<String>) -> Self
The intent that contains the slot.
sourcepub fn get_intent_id(&self) -> &Option<String>
pub fn get_intent_id(&self) -> &Option<String>
The intent that contains the slot.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The timestamp of the date and time that the slot was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The timestamp of the date and time that the slot was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The timestamp of the date and time that the slot was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The timestamp of the date and time that the slot was last 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 date and time that the slot was last 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 date and time that the slot was last updated.
sourcepub fn multiple_values_setting(self, input: MultipleValuesSetting) -> Self
pub fn multiple_values_setting(self, input: MultipleValuesSetting) -> Self
Indicates whether the slot accepts multiple values in one response.
sourcepub fn set_multiple_values_setting(
self,
input: Option<MultipleValuesSetting>
) -> Self
pub fn set_multiple_values_setting( self, input: Option<MultipleValuesSetting> ) -> Self
Indicates whether the slot accepts multiple values in one response.
sourcepub fn get_multiple_values_setting(&self) -> &Option<MultipleValuesSetting>
pub fn get_multiple_values_setting(&self) -> &Option<MultipleValuesSetting>
Indicates whether the slot accepts multiple values in one response.
sourcepub fn sub_slot_setting(self, input: SubSlotSetting) -> Self
pub fn sub_slot_setting(self, input: SubSlotSetting) -> Self
Specifications for the constituent sub slots and the expression for the composite slot.
sourcepub fn set_sub_slot_setting(self, input: Option<SubSlotSetting>) -> Self
pub fn set_sub_slot_setting(self, input: Option<SubSlotSetting>) -> Self
Specifications for the constituent sub slots and the expression for the composite slot.
sourcepub fn get_sub_slot_setting(&self) -> &Option<SubSlotSetting>
pub fn get_sub_slot_setting(&self) -> &Option<SubSlotSetting>
Specifications for the constituent sub slots and the expression for the composite slot.
sourcepub fn build(self) -> UpdateSlotOutput
pub fn build(self) -> UpdateSlotOutput
Consumes the builder and constructs a UpdateSlotOutput.
Trait Implementations§
source§impl Clone for UpdateSlotOutputBuilder
impl Clone for UpdateSlotOutputBuilder
source§fn clone(&self) -> UpdateSlotOutputBuilder
fn clone(&self) -> UpdateSlotOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateSlotOutputBuilder
impl Debug for UpdateSlotOutputBuilder
source§impl Default for UpdateSlotOutputBuilder
impl Default for UpdateSlotOutputBuilder
source§fn default() -> UpdateSlotOutputBuilder
fn default() -> UpdateSlotOutputBuilder
source§impl PartialEq for UpdateSlotOutputBuilder
impl PartialEq for UpdateSlotOutputBuilder
source§fn eq(&self, other: &UpdateSlotOutputBuilder) -> bool
fn eq(&self, other: &UpdateSlotOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.