Interface CfnBot.CustomVocabularyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.CustomVocabularyProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.CustomVocabularyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a custom vocabulary.
A custom vocabulary is a list of words that you expect to be used during a conversation with your bot.
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.*; CustomVocabularyProperty customVocabularyProperty = CustomVocabularyProperty.builder() .customVocabularyItems(List.of(CustomVocabularyItemProperty.builder() .phrase("phrase") // the properties below are optional .displayAs("displayAs") .weight(123) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.CustomVocabularyProperty
static final class
An implementation forCfnBot.CustomVocabularyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specifies a list of words that you expect to be used during a conversation with your bot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomVocabularyItems
Specifies a list of words that you expect to be used during a conversation with your bot. -
builder
-