@Generated(value="software.amazon.awssdk:codegen") public final class SlotTypeRegexConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotTypeRegexConfiguration.Builder,SlotTypeRegexConfiguration>
Provides a regular expression used to validate the value of a slot.
Modifier and Type | Class and Description |
---|---|
static interface |
SlotTypeRegexConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static SlotTypeRegexConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
pattern()
A regular expression used to validate the value of a slot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SlotTypeRegexConfiguration.Builder> |
serializableBuilderClass() |
SlotTypeRegexConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
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 "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 SlotTypeRegexConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SlotTypeRegexConfiguration.Builder,SlotTypeRegexConfiguration>
public static SlotTypeRegexConfiguration.Builder builder()
public static Class<? extends SlotTypeRegexConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()