Class CfnEntityType.Builder

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

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

    • create

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

      @Stability(Stable) public CfnEntityType.Builder name(String name)
      The entity type name.

      Pattern: ^[0-9a-z_-]+$

      Parameters:
      name - The entity type name. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnEntityType.Builder description(String description)
      The entity type description.

      Parameters:
      description - The entity type description. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnEntityType.Builder tags(List<? extends CfnTag> tags)
      A key and value pair.

      Parameters:
      tags - A key and value pair. This parameter is required.
      Returns:
      this
    • build

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