Class CfnSqlInjectionMatchSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.CfnSqlInjectionMatchSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSqlInjectionMatchSet>
- Enclosing class:
CfnSqlInjectionMatchSet
@Stability(Stable)
public static final class CfnSqlInjectionMatchSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSqlInjectionMatchSet>
A fluent builder for
CfnSqlInjectionMatchSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The name, if any, of theSqlInjectionMatchSet
.sqlInjectionMatchTuples
(List<? extends Object> sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.sqlInjectionMatchTuples
(IResolvable sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSqlInjectionMatchSet.Builder
.
-
name
The name, if any, of theSqlInjectionMatchSet
.- Parameters:
name
- The name, if any, of theSqlInjectionMatchSet
. This parameter is required.- Returns:
this
-
sqlInjectionMatchTuples
@Stability(Stable) public CfnSqlInjectionMatchSet.Builder sqlInjectionMatchTuples(IResolvable sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Parameters:
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code. This parameter is required.- Returns:
this
-
sqlInjectionMatchTuples
@Stability(Stable) public CfnSqlInjectionMatchSet.Builder sqlInjectionMatchTuples(List<? extends Object> sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Parameters:
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSqlInjectionMatchSet>
- Returns:
- a newly built instance of
CfnSqlInjectionMatchSet
.
-