@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotTypeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information for a slot type.
Constructor and Description |
---|
SlotTypeConfiguration() |
Modifier and Type | Method and Description |
---|---|
SlotTypeConfiguration |
clone() |
boolean |
equals(Object obj) |
SlotTypeRegexConfiguration |
getRegexConfiguration()
A regular expression used to validate the value of a slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
|
String |
toString()
Returns a string representation of this object.
|
SlotTypeConfiguration |
withRegexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
|
public void setRegexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
regexConfiguration
- A regular expression used to validate the value of a slot.public SlotTypeRegexConfiguration getRegexConfiguration()
A regular expression used to validate the value of a slot.
public SlotTypeConfiguration withRegexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
regexConfiguration
- A regular expression used to validate the value of a slot.public String toString()
toString
in class Object
Object.toString()
public SlotTypeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.