Class CfnXssMatchSet.Builder

java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnXssMatchSet.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnXssMatchSet>
Enclosing class:
CfnXssMatchSet

@Stability(Stable) public static final class CfnXssMatchSet.Builder extends Object implements software.amazon.jsii.Builder<CfnXssMatchSet>
A fluent builder for CfnXssMatchSet.
  • Method Details

    • create

      @Stability(Stable) public static CfnXssMatchSet.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 CfnXssMatchSet.Builder.
    • name

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

      Parameters:
      name - The name, if any, of the XssMatchSet . This parameter is required.
      Returns:
      this
    • xssMatchTuples

      @Stability(Stable) public CfnXssMatchSet.Builder xssMatchTuples(IResolvable xssMatchTuples)
      Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

      Parameters:
      xssMatchTuples - Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. This parameter is required.
      Returns:
      this
    • xssMatchTuples

      @Stability(Stable) public CfnXssMatchSet.Builder xssMatchTuples(List<? extends Object> xssMatchTuples)
      Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

      Parameters:
      xssMatchTuples - Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. This parameter is required.
      Returns:
      this
    • build

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