Class XssMatchSetUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.waf.model.XssMatchSetUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<XssMatchSetUpdate.Builder,XssMatchSetUpdate>
@Generated("software.amazon.awssdk:codegen") public final class XssMatchSetUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<XssMatchSetUpdate.Builder,XssMatchSetUpdate>
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceXssMatchSetUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeActionaction()StringactionAsString()static XssMatchSetUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends XssMatchSetUpdate.Builder>serializableBuilderClass()XssMatchSetUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.XssMatchTuplexssMatchTuple()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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final ChangeAction action()
Specify
INSERTto add an XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove anXssMatchSetUpdatefrom anXssMatchSet.If the service returns an enum value that is not available in the current SDK version,
actionwill returnChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specify
INSERTto add an XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove anXssMatchSetUpdatefrom anXssMatchSet. - See Also:
ChangeAction
-
actionAsString
public final String actionAsString()
Specify
INSERTto add an XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove anXssMatchSetUpdatefrom anXssMatchSet.If the service returns an enum value that is not available in the current SDK version,
actionwill returnChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specify
INSERTto add an XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove anXssMatchSetUpdatefrom anXssMatchSet. - See Also:
ChangeAction
-
xssMatchTuple
public final 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.
- 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.
-
toBuilder
public XssMatchSetUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<XssMatchSetUpdate.Builder,XssMatchSetUpdate>
-
builder
public static XssMatchSetUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends XssMatchSetUpdate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-