@Generated(value="software.amazon.awssdk:codegen") public final class XssMatchSetUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<XssMatchSetUpdate.Builder,XssMatchSetUpdate>
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
.
Modifier and Type | Class and Description |
---|---|
static interface |
XssMatchSetUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
ChangeAction |
action()
|
String |
actionAsString()
|
static XssMatchSetUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends XssMatchSetUpdate.Builder> |
serializableBuilderClass() |
XssMatchSetUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public ChangeAction action()
Specify INSERT
to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove a XssMatchSetUpdate
from an XssMatchSet
.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove a XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public String actionAsString()
Specify INSERT
to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove a XssMatchSetUpdate
from an XssMatchSet
.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove a XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public 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 XssMatchSetUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<XssMatchSetUpdate.Builder,XssMatchSetUpdate>
public static XssMatchSetUpdate.Builder builder()
public static Class<? extends XssMatchSetUpdate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.