@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegexPatternSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
In an UpdateRegexPatternSet request, RegexPatternSetUpdate
specifies whether to insert or delete
a RegexPatternString
and includes the settings for the RegexPatternString
.
Constructor and Description |
---|
RegexPatternSetUpdate() |
Modifier and Type | Method and Description |
---|---|
RegexPatternSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete a
RegexPatternString . |
String |
getRegexPatternString()
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
Specifies whether to insert or delete a
RegexPatternString . |
void |
setRegexPatternString(String regexPatternString)
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t . |
String |
toString()
Returns a string representation of this object.
|
RegexPatternSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete a
RegexPatternString . |
RegexPatternSetUpdate |
withAction(String action)
Specifies whether to insert or delete a
RegexPatternString . |
RegexPatternSetUpdate |
withRegexPatternString(String regexPatternString)
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t . |
public void setAction(String action)
Specifies whether to insert or delete a RegexPatternString
.
action
- Specifies whether to insert or delete a RegexPatternString
.ChangeAction
public String getAction()
Specifies whether to insert or delete a RegexPatternString
.
RegexPatternString
.ChangeAction
public RegexPatternSetUpdate withAction(String action)
Specifies whether to insert or delete a RegexPatternString
.
action
- Specifies whether to insert or delete a RegexPatternString
.ChangeAction
public RegexPatternSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a RegexPatternString
.
action
- Specifies whether to insert or delete a RegexPatternString
.ChangeAction
public void setRegexPatternString(String regexPatternString)
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t
.
regexPatternString
- Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t
.public String getRegexPatternString()
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t
.
B[a@]dB[o0]t
.public RegexPatternSetUpdate withRegexPatternString(String regexPatternString)
Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t
.
regexPatternString
- Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as
B[a@]dB[o0]t
.public String toString()
toString
in class Object
Object.toString()
public RegexPatternSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.