Class XssMatchSet
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains XssMatchTuple
objects, which
specify the parts of web requests 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. If a XssMatchSet
contains more than one
XssMatchTuple
object, a request needs to include cross-site
scripting attacks in only one of the specified parts of the request to be
considered a match.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name, if any, of theXssMatchSet
.A unique identifier for anXssMatchSet
.Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.int
hashCode()
void
The name, if any, of theXssMatchSet
.void
setXssMatchSetId
(String xssMatchSetId) A unique identifier for anXssMatchSet
.void
setXssMatchTuples
(Collection<XssMatchTuple> xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.toString()
Returns a string representation of this object; useful for testing and debugging.The name, if any, of theXssMatchSet
.withXssMatchSetId
(String xssMatchSetId) A unique identifier for anXssMatchSet
.withXssMatchTuples
(XssMatchTuple... xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.withXssMatchTuples
(Collection<XssMatchTuple> xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
-
Constructor Details
-
XssMatchSet
public XssMatchSet()
-
-
Method Details
-
setXssMatchSetId
A unique identifier for an
XssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.- Parameters:
xssMatchSetId
- A unique identifier for anXssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
-
getXssMatchSetId
A unique identifier for an
XssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.- Returns:
- A unique identifier for an
XssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
-
withXssMatchSetId
A unique identifier for an
XssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.- Parameters:
xssMatchSetId
- A unique identifier for anXssMatchSet
. You useXssMatchSetId
to get information about anXssMatchSet
(see GetXssMatchSet), update anXssMatchSet
(see UpdateXssMatchSet), insert anXssMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anXssMatchSet
from AWS WAF (see DeleteXssMatchSet).XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name, if any, of the
XssMatchSet
.- Parameters:
name
- The name, if any, of theXssMatchSet
.
-
getName
The name, if any, of the
XssMatchSet
.- Returns:
- The name, if any, of the
XssMatchSet
.
-
withName
The name, if any, of the
XssMatchSet
.- Parameters:
name
- The name, if any, of theXssMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getXssMatchTuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
- Returns:
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
-
setXssMatchTuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
- Parameters:
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
-
withXssMatchTuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
NOTE: This method appends the values to the existing list (if any). Use
setXssMatchTuples(java.util.Collection)
orwithXssMatchTuples(java.util.Collection)
if you want to override the existing values.- Parameters:
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withXssMatchTuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
- Parameters:
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- 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
-