Interface CfnBotPropsMixin.CustomVocabularyItemProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.CustomVocabularyItemProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.CustomVocabularyItemProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an entry in a custom vocabulary.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
CustomVocabularyItemProperty customVocabularyItemProperty = CustomVocabularyItemProperty.builder()
.displayAs("displayAs")
.phrase("phrase")
.weight(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.CustomVocabularyItemPropertystatic final classAn implementation forCfnBotPropsMixin.CustomVocabularyItemProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.- See Also:
-
getPhrase
Specifies 1 - 4 words that should be recognized.- See Also:
-
getWeight
Specifies the degree to which the phrase recognition is boosted.The default value is 1.
- See Also:
-
builder
-