Class CfnContactFlowModule.Builder

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

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

    • create

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

      @Stability(Stable) public CfnContactFlowModule.Builder content(String content)
      The content of the flow module.

      Parameters:
      content - The content of the flow module. This parameter is required.
      Returns:
      this
    • instanceArn

      @Stability(Stable) public CfnContactFlowModule.Builder instanceArn(String instanceArn)
      The Amazon Resource Name (ARN) of the Amazon Connect instance.

      Parameters:
      instanceArn - The Amazon Resource Name (ARN) of the Amazon Connect instance. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnContactFlowModule.Builder name(String name)
      The name of the flow module.

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

      @Stability(Stable) public CfnContactFlowModule.Builder description(String description)
      The description of the flow module.

      Parameters:
      description - The description of the flow module. This parameter is required.
      Returns:
      this
    • state

      @Stability(Stable) public CfnContactFlowModule.Builder state(String state)
      The state of the flow module.

      Parameters:
      state - The state of the flow module. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnContactFlowModule.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 CfnContactFlowModule build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnContactFlowModule>
      Returns:
      a newly built instance of CfnContactFlowModule.