@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegexMatchSetUpdate 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 UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether to insert or delete a
RegexMatchTuple and includes the settings for the RegexMatchTuple.
| Constructor and Description |
|---|
RegexMatchSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
RegexMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete a RegexMatchTuple.
|
RegexMatchTuple |
getRegexMatchTuple()
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for.
|
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 RegexMatchTuple.
|
void |
setRegexMatchTuple(RegexMatchTuple regexMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for.
|
String |
toString()
Returns a string representation of this object.
|
RegexMatchSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete a RegexMatchTuple.
|
RegexMatchSetUpdate |
withAction(String action)
Specifies whether to insert or delete a RegexMatchTuple.
|
RegexMatchSetUpdate |
withRegexMatchTuple(RegexMatchTuple regexMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for.
|
public void setAction(String action)
Specifies whether to insert or delete a RegexMatchTuple.
action - Specifies whether to insert or delete a RegexMatchTuple.ChangeActionpublic String getAction()
Specifies whether to insert or delete a RegexMatchTuple.
ChangeActionpublic RegexMatchSetUpdate withAction(String action)
Specifies whether to insert or delete a RegexMatchTuple.
action - Specifies whether to insert or delete a RegexMatchTuple.ChangeActionpublic RegexMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a RegexMatchTuple.
action - Specifies whether to insert or delete a RegexMatchTuple.ChangeActionpublic void setRegexMatchTuple(RegexMatchTuple regexMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value
of Action, the RegexMatchTuple values must exactly match the values in the
RegexMatchTuple that you want to delete from the RegexMatchSet.
regexMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the identifier of the
regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action, the RegexMatchTuple values must exactly match the
values in the RegexMatchTuple that you want to delete from the RegexMatchSet.public RegexMatchTuple getRegexMatchTuple()
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value
of Action, the RegexMatchTuple values must exactly match the values in the
RegexMatchTuple that you want to delete from the RegexMatchSet.
DELETE for the value of Action, the RegexMatchTuple values must
exactly match the values in the RegexMatchTuple that you want to delete from the
RegexMatchSet.public RegexMatchSetUpdate withRegexMatchTuple(RegexMatchTuple regexMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular
expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value
of Action, the RegexMatchTuple values must exactly match the values in the
RegexMatchTuple that you want to delete from the RegexMatchSet.
regexMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the identifier of the
regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action, the RegexMatchTuple values must exactly match the
values in the RegexMatchTuple that you want to delete from the RegexMatchSet.public String toString()
toString in class ObjectObject.toString()public RegexMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.