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
impl StructuralPartialEq for SlotTypeSummaryBuilder
Auto Trait Implementations§
impl Freeze for SlotTypeSummaryBuilder
impl RefUnwindSafe for SlotTypeSummaryBuilder
impl Send for SlotTypeSummaryBuilder
impl Sync for SlotTypeSummaryBuilder
impl Unpin for SlotTypeSummaryBuilder
impl UnwindSafe for SlotTypeSummaryBuilder
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