@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Regex extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
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) |
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)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.