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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.SlotPropertystatic final classAn implementation forCfnBot.SlotProperty
- 
Method SummaryModifier and TypeMethodDescriptionstatic CfnBot.SlotProperty.Builderbuilder()default StringThe description of the slot.default ObjectIndicates whether a slot can return multiple values.getName()The name given to the slot.default ObjectDetermines 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.default ObjectReturns union: eitherIResolvableorCfnBot.SubSlotSettingPropertyDetermines 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- 
getNameThe name given to the slot.- See Also:
 
- 
getSlotTypeNameThe name of the slot type that this slot is based on.The slot type defines the acceptable values for the slot. - See Also:
 
- 
getValueElicitationSettingDetermines 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 IResolvableorCfnBot.SlotValueElicitationSettingProperty- See Also:
 
- 
getDescriptionThe description of the slot.- See Also:
 
- 
getMultipleValuesSettingIndicates whether a slot can return multiple values.Returns union: either IResolvableorCfnBot.MultipleValuesSettingProperty- See Also:
 
- 
getObfuscationSettingDetermines 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 IResolvableorCfnBot.ObfuscationSettingProperty- See Also:
 
- 
getSubSlotSettingReturns union: eitherIResolvableorCfnBot.SubSlotSettingProperty- See Also:
 
- 
builder- Returns:
- a CfnBot.SlotProperty.BuilderofCfnBot.SlotProperty
 
 
-