@Stability(value=Stable) public static final class CfnBot.CustomVocabularyItemProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.CustomVocabularyItemProperty>
CfnBot.CustomVocabularyItemProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBot.CustomVocabularyItemProperty |
build()
Builds the configured instance.
|
CfnBot.CustomVocabularyItemProperty.Builder |
phrase(String phrase)
Sets the value of
CfnBot.CustomVocabularyItemProperty.getPhrase() |
CfnBot.CustomVocabularyItemProperty.Builder |
weight(Number weight)
Sets the value of
CfnBot.CustomVocabularyItemProperty.getWeight() |
@Stability(value=Stable) public CfnBot.CustomVocabularyItemProperty.Builder phrase(String phrase)
CfnBot.CustomVocabularyItemProperty.getPhrase()phrase - Specifies 1 - 4 words that should be recognized. This parameter is required.this@Stability(value=Stable) public CfnBot.CustomVocabularyItemProperty.Builder weight(Number weight)
CfnBot.CustomVocabularyItemProperty.getWeight()weight - Specifies the degree to which the phrase recognition is boosted.
The default value is 1.this@Stability(value=Stable) public CfnBot.CustomVocabularyItemProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.CustomVocabularyItemProperty>CfnBot.CustomVocabularyItemPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.