Class SlotValueRegexFilter
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SlotValueRegexFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlotValueRegexFilter.Builder,SlotValueRegexFilter>
@Generated("software.amazon.awssdk:codegen") public final class SlotValueRegexFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotValueRegexFilter.Builder,SlotValueRegexFilter>
Provides a regular expression used to validate the value of a slot.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlotValueRegexFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotValueRegexFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpattern()A regular expression used to validate the value of a slot.List<SdkField<?>>sdkFields()static Class<? extends SlotValueRegexFilter.Builder>serializableBuilderClass()SlotValueRegexFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
pattern
public final 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 "\u0041" or "\u005A".
The following regular expression operators are not supported:
-
Infinite repeaters: *, +, or {x,} with no upper bound.
-
Wild card (.)
- Returns:
- 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 "\u0041" or "\u005A".
The following regular expression operators are not supported:
-
Infinite repeaters: *, +, or {x,} with no upper bound.
-
Wild card (.)
-
-
-
toBuilder
public SlotValueRegexFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlotValueRegexFilter.Builder,SlotValueRegexFilter>
-
builder
public static SlotValueRegexFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlotValueRegexFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-