@Generated(value="software.amazon.awssdk:codegen") public class XssMatchSet extends Object implements StructuredPojo, ToCopyableBuilder<XssMatchSet.Builder,XssMatchSet>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
XssMatchSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static XssMatchSet.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The name, if any, of the
XssMatchSet. |
static Class<? extends XssMatchSet.Builder> |
serializableBuilderClass() |
XssMatchSet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
xssMatchSetId()
A unique identifier for an
XssMatchSet. |
List<XssMatchTuple> |
xssMatchTuples()
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
|
copypublic 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.
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 name()
The name, if any, of the XssMatchSet.
XssMatchSet.public List<XssMatchTuple> xssMatchTuples()
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public XssMatchSet.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<XssMatchSet.Builder,XssMatchSet>public static XssMatchSet.Builder builder()
public static Class<? extends XssMatchSet.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.