@Stability(value=Stable)
public static interface CfnBot.SlotValueRegexFilterProperty
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.*;
SlotValueRegexFilterProperty slotValueRegexFilterProperty = SlotValueRegexFilterProperty.builder()
.pattern("pattern")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.SlotValueRegexFilterProperty.Builder
A builder for
CfnBot.SlotValueRegexFilterProperty |
static class |
CfnBot.SlotValueRegexFilterProperty.Jsii$Proxy
An implementation for
CfnBot.SlotValueRegexFilterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.SlotValueRegexFilterProperty.Builder |
builder() |
String |
getPattern()
A regular expression used to validate the value of a slot.
|
@Stability(value=Stable) @NotNull String getPattern()
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
Represent Unicode characters with four digits, for example "]u0041" or "\ u005A".
The following regular expression operators are not supported:
@Stability(value=Stable) static CfnBot.SlotValueRegexFilterProperty.Builder builder()
Copyright © 2022. All rights reserved.