public static interface CfnBot.CustomVocabularyItemProperty
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 .weight(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBot.CustomVocabularyItemProperty.Builder
A builder for
CfnBot.CustomVocabularyItemProperty |
static class |
CfnBot.CustomVocabularyItemProperty.Jsii$Proxy
An implementation for
CfnBot.CustomVocabularyItemProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBot.CustomVocabularyItemProperty.Builder |
builder() |
java.lang.String |
getPhrase()
Specifies 1 - 4 words that should be recognized.
|
default java.lang.Number |
getWeight()
Specifies the degree to which the phrase recognition is boosted.
|
java.lang.String getPhrase()
default java.lang.Number getWeight()
The default value is 1.
static CfnBot.CustomVocabularyItemProperty.Builder builder()