Interface CfnBot.SlotProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.SlotProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.SlotProperty
static final class
An implementation forCfnBot.SlotProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBot.SlotProperty.Builder
builder()
default String
The description of the slot.default Object
Indicates whether a slot can return multiple values.getName()
The name given to the slot.default Object
Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.The name of the slot type that this slot is based on.Determines 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
-
getName
The name given to the slot.- 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:
-
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
.- See Also:
-
getDescription
The description of the slot.- See Also:
-
getMultipleValuesSetting
Indicates whether a slot can return multiple values.- 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.
- See Also:
-
builder
- Returns:
- a
CfnBot.SlotProperty.Builder
ofCfnBot.SlotProperty
-