@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotValueRegexFilter extends Object implements Serializable, Cloneable, StructuredPojo
Provides a regular expression used to validate the value of a slot.
| Constructor and Description |
|---|
SlotValueRegexFilter() |
| Modifier and Type | Method and Description |
|---|---|
SlotValueRegexFilter |
clone() |
boolean |
equals(Object obj) |
String |
getPattern()
A regular expression used to validate the value of a slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPattern(String pattern)
A regular expression used to validate the value of a slot.
|
String |
toString()
Returns a string representation of this object.
|
SlotValueRegexFilter |
withPattern(String pattern)
A regular expression used to validate the value of a slot.
|
public void setPattern(String pattern)
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<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
pattern - 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<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
public String 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<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
A-Z, a-z
0-9
Unicode characters ("\ u<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
public SlotValueRegexFilter withPattern(String pattern)
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<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
pattern - 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<Unicode>")
Represent Unicode characters with four digits, for example "A" or "Z".
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
public String toString()
toString in class ObjectObject.toString()public SlotValueRegexFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.