Class XssMatchSetUpdate
- All Implemented Interfaces:
Serializable
,Cloneable
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
.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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
setAction
(ChangeAction action) void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAction
(ChangeAction action) withAction
(String action) 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.
-
Constructor Details
-
XssMatchSetUpdate
public XssMatchSetUpdate()
-
-
Method Details
-
setAction
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- See Also:
-
getAction
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Returns:
- Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
. - See Also:
-
withAction
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- See Also:
-
withAction
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setXssMatchTuple
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withXssMatchTuple
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-