SlotTypeArgs class
The set of arguments for SlotType. The set of arguments for SlotType.
Constructors
-
SlotTypeArgs({Input<
bool?> ? createVersion, Input<String?> ? description, required Input<List< enumerationValues, Input<SlotTypeEnumerationValue> >String?> ? name, Input<String?> ? region, Input<String?> ? valueSelectionStrategy}) -
Creates a new SlotTypeArgs.
createVersionDetermines if a new slot type version is created when the initial resource is created and on eachdescriptionA description of the slot type. Must be less than or equal to 200 characters in length.enumerationValuesA list of EnumerationValue objects that defines the values thatnameThe name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.valueSelectionStrategyDetermines the slot resolution strategy that Amazon Lexconst -
SlotTypeArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createVersion
→ Input<
bool?> ? -
Determines if a new slot type version is created when the initial resource is created and on each
update. Defaults to
false.final -
description
→ Input<
String?> ? -
A description of the slot type. Must be less than or equal to 200 characters in length.
final
-
enumerationValues
→ Input<
List< SlotTypeEnumerationValue> > -
A list of EnumerationValue objects that defines the values that
the slot type can take. Each value can have a list of synonyms, which are additional values that help
train the machine learning model about the values that it resolves for a slot. Attributes are
documented under enumeration_value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
valueSelectionStrategy
→ Input<
String?> ? -
Determines the slot resolution strategy that Amazon Lex
uses to return slot type values.
ORIGINAL_VALUEreturns the value entered by the user if the user value is similar to the slot value.TOP_RESOLUTIONreturns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults toORIGINAL_VALUE.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited