Interface CfnBot.SlotValueRegexFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.SlotValueRegexFilterProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.SlotValueRegexFilterProperty
extends software.amazon.jsii.JsiiSerializable
Provides a regular expression used to validate the value of a slot.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.SlotValueRegexFilterProperty
static final class
An implementation forCfnBot.SlotValueRegexFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A regular expression used to validate the value of a slot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPattern
A regular expression used to validate the value of a slot.Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
- A-Z, a-z
- 0-9
- Unicode characters ("\u
")
Represent Unicode characters with four digits, for example "\u0041" or "\u005A".
The following regular expression operators are not supported:
- Infinite repeaters: *, +, or {x,} with no upper bound.
- Wild card (.)
-
builder
-