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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.CustomVocabularyItemPropertystatic final classAn 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. -
getDisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list. -
getWeight
Specifies the degree to which the phrase recognition is boosted.The default value is 1.
-
builder
-