Interface CfnBot.CustomVocabularyItemProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.CustomVocabularyItemProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.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.services.lex.*; CustomVocabularyItemProperty customVocabularyItemProperty = CustomVocabularyItemProperty.builder() .phrase("phrase") // the properties below are optional .displayAs("displayAs") .weight(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.CustomVocabularyItemProperty
static final class
An implementation forCfnBot.CustomVocabularyItemProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPhrase
Specifies 1 - 4 words that should be recognized.- See Also:
-
getDisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.- See Also:
-
getWeight
Specifies the degree to which the phrase recognition is boosted.The default value is 1.
- See Also:
-
builder
-