Class CfnOutcome.Builder

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

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

    • create

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

      @Stability(Stable) public CfnOutcome.Builder name(String name)
      The outcome name.

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

      @Stability(Stable) public CfnOutcome.Builder description(String description)
      The outcome description.

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

      @Stability(Stable) public CfnOutcome.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
    • build

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