Struct aws_sdk_lexmodelsv2::types::builders::SlotTypeSummaryBuilder
source · #[non_exhaustive]pub struct SlotTypeSummaryBuilder { /* private fields */ }Expand description
A builder for SlotTypeSummary.
Implementations§
source§impl SlotTypeSummaryBuilder
impl SlotTypeSummaryBuilder
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.
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 slot_type_name(self, input: impl Into<String>) -> Self
pub fn slot_type_name(self, input: impl Into<String>) -> Self
The name of the slot type.
sourcepub fn set_slot_type_name(self, input: Option<String>) -> Self
pub fn set_slot_type_name(self, input: Option<String>) -> Self
The name of the slot type.
sourcepub fn get_slot_type_name(&self) -> &Option<String>
pub fn get_slot_type_name(&self) -> &Option<String>
The name of the slot type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the slot type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the slot type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the slot type.
sourcepub fn parent_slot_type_signature(self, input: impl Into<String>) -> Self
pub fn parent_slot_type_signature(self, input: impl Into<String>) -> Self
If the slot type is derived from a built-on slot type, the name of the parent slot type.
sourcepub fn set_parent_slot_type_signature(self, input: Option<String>) -> Self
pub fn set_parent_slot_type_signature(self, input: Option<String>) -> Self
If the slot type is derived from a built-on slot type, the name of the parent slot type.
sourcepub fn get_parent_slot_type_signature(&self) -> &Option<String>
pub fn get_parent_slot_type_signature(&self) -> &Option<String>
If the slot type is derived from a built-on slot type, the name of the parent slot type.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the slot type 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
A timestamp of the date and time that the slot type was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the slot type was last updated.
sourcepub fn slot_type_category(self, input: SlotTypeCategory) -> Self
pub fn slot_type_category(self, input: SlotTypeCategory) -> Self
Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
sourcepub fn set_slot_type_category(self, input: Option<SlotTypeCategory>) -> Self
pub fn set_slot_type_category(self, input: Option<SlotTypeCategory>) -> Self
Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
sourcepub fn get_slot_type_category(&self) -> &Option<SlotTypeCategory>
pub fn get_slot_type_category(&self) -> &Option<SlotTypeCategory>
Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
sourcepub fn build(self) -> SlotTypeSummary
pub fn build(self) -> SlotTypeSummary
Consumes the builder and constructs a SlotTypeSummary.
Trait Implementations§
source§impl Clone for SlotTypeSummaryBuilder
impl Clone for SlotTypeSummaryBuilder
source§fn clone(&self) -> SlotTypeSummaryBuilder
fn clone(&self) -> SlotTypeSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SlotTypeSummaryBuilder
impl Debug for SlotTypeSummaryBuilder
source§impl Default for SlotTypeSummaryBuilder
impl Default for SlotTypeSummaryBuilder
source§fn default() -> SlotTypeSummaryBuilder
fn default() -> SlotTypeSummaryBuilder
source§impl PartialEq for SlotTypeSummaryBuilder
impl PartialEq for SlotTypeSummaryBuilder
source§fn eq(&self, other: &SlotTypeSummaryBuilder) -> bool
fn eq(&self, other: &SlotTypeSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.