@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Regex extends Object implements Serializable, Cloneable, StructuredPojo
A single regular expression. This is used in a RegexPatternSet.
| Constructor and Description |
|---|
Regex() |
| Modifier and Type | Method and Description |
|---|---|
Regex |
clone() |
boolean |
equals(Object obj) |
String |
getRegexString()
The string representing the regular expression.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRegexString(String regexString)
The string representing the regular expression.
|
String |
toString()
Returns a string representation of this object.
|
Regex |
withRegexString(String regexString)
The string representing the regular expression.
|
public void setRegexString(String regexString)
The string representing the regular expression.
regexString - The string representing the regular expression.public String getRegexString()
The string representing the regular expression.
public Regex withRegexString(String regexString)
The string representing the regular expression.
regexString - The string representing the regular expression.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.