Class CfnList.Builder

java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnList.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnList>
Enclosing class:
CfnList

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

    • create

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

      @Stability(Stable) public CfnList.Builder name(String name)
      The name of the list.

      Parameters:
      name - The name of the list. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnList.Builder description(String description)
      The description of the list.

      Parameters:
      description - The description of the list. This parameter is required.
      Returns:
      this
    • elements

      @Stability(Stable) public CfnList.Builder elements(List<String> elements)
      The elements in the list.

      Parameters:
      elements - The elements in the list. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnList.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • variableType

      @Stability(Stable) public CfnList.Builder variableType(String variableType)
      The variable type of the list.

      For more information, see Variable types

      Parameters:
      variableType - The variable type of the list. This parameter is required.
      Returns:
      this
    • build

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