Class CfnSqlInjectionMatchSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.waf.CfnSqlInjectionMatchSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSqlInjectionMatchSetProps>
- Enclosing interface:
CfnSqlInjectionMatchSetProps
@Stability(Stable)
public static final class CfnSqlInjectionMatchSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSqlInjectionMatchSetProps>
A builder for
CfnSqlInjectionMatchSetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSqlInjectionMatchSetProps.getName()sqlInjectionMatchTuples(List<? extends Object> sqlInjectionMatchTuples) Sets the value ofCfnSqlInjectionMatchSetProps.getSqlInjectionMatchTuples()sqlInjectionMatchTuples(IResolvable sqlInjectionMatchTuples) Sets the value ofCfnSqlInjectionMatchSetProps.getSqlInjectionMatchTuples()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSqlInjectionMatchSetProps.getName()- Parameters:
name- The name, if any, of theSqlInjectionMatchSet. This parameter is required.- Returns:
this
-
sqlInjectionMatchTuples
@Stability(Stable) public CfnSqlInjectionMatchSetProps.Builder sqlInjectionMatchTuples(IResolvable sqlInjectionMatchTuples) Sets the value ofCfnSqlInjectionMatchSetProps.getSqlInjectionMatchTuples()- Parameters:
sqlInjectionMatchTuples- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Returns:
this
-
sqlInjectionMatchTuples
@Stability(Stable) public CfnSqlInjectionMatchSetProps.Builder sqlInjectionMatchTuples(List<? extends Object> sqlInjectionMatchTuples) Sets the value ofCfnSqlInjectionMatchSetProps.getSqlInjectionMatchTuples()- Parameters:
sqlInjectionMatchTuples- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSqlInjectionMatchSetProps>- Returns:
- a new instance of
CfnSqlInjectionMatchSetProps - Throws:
NullPointerException- if any required attribute was not provided
-