@Stability(value=Stable)
public static interface CfnBot.SlotValueSelectionSettingProperty
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.*;
SlotValueSelectionSettingProperty slotValueSelectionSettingProperty = SlotValueSelectionSettingProperty.builder()
.resolutionStrategy("resolutionStrategy")
// the properties below are optional
.advancedRecognitionSetting(AdvancedRecognitionSettingProperty.builder()
.audioRecognitionStrategy("audioRecognitionStrategy")
.build())
.regexFilter(SlotValueRegexFilterProperty.builder()
.pattern("pattern")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.SlotValueSelectionSettingProperty.Builder
A builder for
CfnBot.SlotValueSelectionSettingProperty |
static class |
CfnBot.SlotValueSelectionSettingProperty.Jsii$Proxy
An implementation for
CfnBot.SlotValueSelectionSettingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.SlotValueSelectionSettingProperty.Builder |
builder() |
default Object |
getAdvancedRecognitionSetting()
Specifies settings that enable advanced recognition settings for slot values.
|
default Object |
getRegexFilter()
A regular expression used to validate the value of a slot.
|
String |
getResolutionStrategy()
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
|
@Stability(value=Stable) @NotNull String getResolutionStrategy()
The field can be set to one of the following values:
If you don't specify the valueSelectionStrategy, the default is OriginalValue.
@Stability(value=Stable) @Nullable default Object getAdvancedRecognitionSetting()
You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
@Stability(value=Stable) @Nullable default Object getRegexFilter()
@Stability(value=Stable) static CfnBot.SlotValueSelectionSettingProperty.Builder builder()
Copyright © 2022. All rights reserved.