Class CfnByteMatchSet.Builder

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

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

    • create

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

      @Stability(Stable) public CfnByteMatchSet.Builder name(String name)
      A friendly name or description of the ByteMatchSet .

      You can't change Name after you create a ByteMatchSet .

      Parameters:
      name - A friendly name or description of the ByteMatchSet . This parameter is required.
      Returns:
      this
    • byteMatchTuples

      @Stability(Stable) public CfnByteMatchSet.Builder byteMatchTuples(IResolvable byteMatchTuples)
      Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

      Parameters:
      byteMatchTuples - Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. This parameter is required.
      Returns:
      this
    • byteMatchTuples

      @Stability(Stable) public CfnByteMatchSet.Builder byteMatchTuples(List<? extends Object> byteMatchTuples)
      Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

      Parameters:
      byteMatchTuples - Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. This parameter is required.
      Returns:
      this
    • build

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