Interface CfnBotPropsMixin.SlotProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.SlotProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.SlotProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the definition of a slot.
Amazon Lex elicits slot values from uses to fulfill the user's intent.
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.SlotPropertystatic final classAn implementation forCfnBotPropsMixin.SlotProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the slot.default ObjectIndicates whether a slot can return multiple values.default StringgetName()The name given to the slot.default ObjectDetermines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.default StringThe name of the slot type that this slot is based on.default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.SubSlotSettingPropertydefault ObjectDetermines the slot resolution strategy that Amazon Lex uses to return slot type values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description of the slot.- See Also:
-
getMultipleValuesSetting
Indicates whether a slot can return multiple values.Returns union: either
IResolvableorCfnBotPropsMixin.MultipleValuesSettingProperty- See Also:
-
getName
The name given to the slot.- See Also:
-
getObfuscationSetting
Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.
Returns union: either
IResolvableorCfnBotPropsMixin.ObfuscationSettingProperty- See Also:
-
getSlotTypeName
The name of the slot type that this slot is based on.The slot type defines the acceptable values for the slot.
- See Also:
-
getSubSlotSetting
Returns union: eitherIResolvableorCfnBotPropsMixin.SubSlotSettingProperty- See Also:
-
getValueElicitationSetting
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.The field can be set to one of the following values:
- ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to a slot value.
- TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don't specify the
valueSelectionStrategy, the default isORIGINAL_VALUE.Returns union: either
IResolvableorCfnBotPropsMixin.SlotValueElicitationSettingProperty- See Also:
-
builder
-