Class CfnSqlInjectionMatchSet.Builder

java.lang.Object
software.amazon.awscdk.services.waf.regional.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 Details

    • create

      @Stability(Stable) public static CfnSqlInjectionMatchSet.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSqlInjectionMatchSet.Builder.
    • name

      @Stability(Stable) public CfnSqlInjectionMatchSet.Builder name(String name)
      The name, if any, of the SqlInjectionMatchSet .

      Parameters:
      name - The name, if any, of the SqlInjectionMatchSet . 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

      @Stability(Stable) public CfnSqlInjectionMatchSet build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSqlInjectionMatchSet>
      Returns:
      a newly built instance of CfnSqlInjectionMatchSet.