@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class XssMatchSet extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
XssMatchSet() |
Modifier and Type | Method and Description |
---|---|
XssMatchSet |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name, if any, of the
XssMatchSet . |
String |
getXssMatchSetId()
A unique identifier for an
XssMatchSet . |
List<XssMatchTuple> |
getXssMatchTuples()
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name, if any, of the
XssMatchSet . |
void |
setXssMatchSetId(String xssMatchSetId)
A unique identifier for an
XssMatchSet . |
void |
setXssMatchTuples(Collection<XssMatchTuple> xssMatchTuples)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
XssMatchSet |
withName(String name)
The name, if any, of the
XssMatchSet . |
XssMatchSet |
withXssMatchSetId(String xssMatchSetId)
A unique identifier for an
XssMatchSet . |
XssMatchSet |
withXssMatchTuples(Collection<XssMatchTuple> xssMatchTuples)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
|
XssMatchSet |
withXssMatchTuples(XssMatchTuple... xssMatchTuples)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
|
public void setXssMatchSetId(String xssMatchSetId)
A unique identifier for an XssMatchSet
. You use XssMatchSetId
to get information about
an XssMatchSet
(see GetXssMatchSet), update an XssMatchSet
(see
UpdateXssMatchSet), insert an XssMatchSet
into a Rule
or delete one from a
Rule
(see UpdateRule), and delete an XssMatchSet
from AWS WAF (see
DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
xssMatchSetId
- A unique identifier for an XssMatchSet
. You use XssMatchSetId
to get information
about an XssMatchSet
(see GetXssMatchSet), update an XssMatchSet
(see
UpdateXssMatchSet), insert an XssMatchSet
into a Rule
or delete one from
a Rule
(see UpdateRule), and delete an XssMatchSet
from AWS WAF (see
DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
public String getXssMatchSetId()
A unique identifier for an XssMatchSet
. You use XssMatchSetId
to get information about
an XssMatchSet
(see GetXssMatchSet), update an XssMatchSet
(see
UpdateXssMatchSet), insert an XssMatchSet
into a Rule
or delete one from a
Rule
(see UpdateRule), and delete an XssMatchSet
from AWS WAF (see
DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
XssMatchSet
. You use XssMatchSetId
to get
information about an XssMatchSet
(see GetXssMatchSet), update an
XssMatchSet
(see UpdateXssMatchSet), insert an XssMatchSet
into a
Rule
or delete one from a Rule
(see UpdateRule), and delete an
XssMatchSet
from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
public XssMatchSet withXssMatchSetId(String xssMatchSetId)
A unique identifier for an XssMatchSet
. You use XssMatchSetId
to get information about
an XssMatchSet
(see GetXssMatchSet), update an XssMatchSet
(see
UpdateXssMatchSet), insert an XssMatchSet
into a Rule
or delete one from a
Rule
(see UpdateRule), and delete an XssMatchSet
from AWS WAF (see
DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
xssMatchSetId
- A unique identifier for an XssMatchSet
. You use XssMatchSetId
to get information
about an XssMatchSet
(see GetXssMatchSet), update an XssMatchSet
(see
UpdateXssMatchSet), insert an XssMatchSet
into a Rule
or delete one from
a Rule
(see UpdateRule), and delete an XssMatchSet
from AWS WAF (see
DeleteXssMatchSet).
XssMatchSetId
is returned by CreateXssMatchSet and by ListXssMatchSets.
public void setName(String name)
The name, if any, of the XssMatchSet
.
name
- The name, if any, of the XssMatchSet
.public String getName()
The name, if any, of the XssMatchSet
.
XssMatchSet
.public XssMatchSet withName(String name)
The name, if any, of the XssMatchSet
.
name
- The name, if any, of the XssMatchSet
.public List<XssMatchTuple> getXssMatchTuples()
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
public void setXssMatchTuples(Collection<XssMatchTuple> xssMatchTuples)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.public XssMatchSet withXssMatchTuples(XssMatchTuple... xssMatchTuples)
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)
or withXssMatchTuples(java.util.Collection)
if you want
to override the existing values.
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.public XssMatchSet withXssMatchTuples(Collection<XssMatchTuple> xssMatchTuples)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
xssMatchTuples
- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.public String toString()
toString
in class Object
Object.toString()
public XssMatchSet 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.