@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class XssMatchSetUpdate 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.
Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether
you want to add the specification to an XssMatchSet or delete it from an XssMatchSet.
| Constructor and Description |
|---|
XssMatchSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
XssMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
|
XssMatchTuple |
getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you
want AWS WAF to inspect a header, the name of the header.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(ChangeAction action)
|
void |
setAction(String action)
|
void |
setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you
want AWS WAF to inspect a header, the name of the header.
|
String |
toString()
Returns a string representation of this object.
|
XssMatchSetUpdate |
withAction(ChangeAction action)
|
XssMatchSetUpdate |
withAction(String action)
|
XssMatchSetUpdate |
withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you
want AWS WAF to inspect a header, the name of the header.
|
public void setAction(String action)
Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate from an XssMatchSet.
action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE to remove an XssMatchSetUpdate from an XssMatchSet.ChangeActionpublic String getAction()
Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate from an XssMatchSet.
INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE to remove an XssMatchSetUpdate from an XssMatchSet.ChangeActionpublic XssMatchSetUpdate withAction(String action)
Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate from an XssMatchSet.
action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE to remove an XssMatchSetUpdate from an XssMatchSet.ChangeActionpublic void setAction(ChangeAction action)
Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate from an XssMatchSet.
action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE to remove an XssMatchSetUpdate from an XssMatchSet.ChangeActionpublic XssMatchSetUpdate withAction(ChangeAction action)
Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate from an XssMatchSet.
action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE to remove an XssMatchSetUpdate from an XssMatchSet.ChangeActionpublic void setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple - Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and,
if you want AWS WAF to inspect a header, the name of the header.public XssMatchTuple getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
public XssMatchSetUpdate withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple - Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and,
if you want AWS WAF to inspect a header, the name of the header.public String toString()
toString in class ObjectObject.toString()public XssMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.