@Stability(value=Stable)
public static interface CfnBot.CustomVocabularyItemProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getPhrase()
Specifies 1 - 4 words that should be recognized.
|
default Number |
getWeight()
Specifies the degree to which the phrase recognition is boosted.
|
@Stability(value=Stable) @NotNull String getPhrase()
@Stability(value=Stable) @Nullable default Number getWeight()
The default value is 1.
@Stability(value=Stable) static CfnBot.CustomVocabularyItemProperty.Builder builder()
Copyright © 2022. All rights reserved.