Class CfnXssMatchSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.CfnXssMatchSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnXssMatchSetMixinProps>
- Enclosing interface:
CfnXssMatchSetMixinProps
@Stability(Stable)
public static final class CfnXssMatchSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnXssMatchSetMixinProps>
A builder for
CfnXssMatchSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnXssMatchSetMixinProps.getName()xssMatchTuples(List<? extends Object> xssMatchTuples) Sets the value ofCfnXssMatchSetMixinProps.getXssMatchTuples()xssMatchTuples(IResolvable xssMatchTuples) Sets the value ofCfnXssMatchSetMixinProps.getXssMatchTuples()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnXssMatchSetMixinProps.getName()- Parameters:
name- The name, if any, of theXssMatchSet.- Returns:
this
-
xssMatchTuples
@Stability(Stable) public CfnXssMatchSetMixinProps.Builder xssMatchTuples(IResolvable xssMatchTuples) Sets the value ofCfnXssMatchSetMixinProps.getXssMatchTuples()- Parameters:
xssMatchTuples- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- Returns:
this
-
xssMatchTuples
@Stability(Stable) public CfnXssMatchSetMixinProps.Builder xssMatchTuples(List<? extends Object> xssMatchTuples) Sets the value ofCfnXssMatchSetMixinProps.getXssMatchTuples()- Parameters:
xssMatchTuples- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnXssMatchSetMixinProps>- Returns:
- a new instance of
CfnXssMatchSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-