Class CfnWorkflow.Builder

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

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

    • create

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

      @Stability(Stable) public CfnWorkflow.Builder steps(IResolvable steps)
      Specifies the details for the steps that are in the specified workflow.

      Parameters:
      steps - Specifies the details for the steps that are in the specified workflow. This parameter is required.
      Returns:
      this
    • steps

      @Stability(Stable) public CfnWorkflow.Builder steps(List<? extends Object> steps)
      Specifies the details for the steps that are in the specified workflow.

      Parameters:
      steps - Specifies the details for the steps that are in the specified workflow. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnWorkflow.Builder description(String description)
      Specifies the text description for the workflow.

      Parameters:
      description - Specifies the text description for the workflow. This parameter is required.
      Returns:
      this
    • onExceptionSteps

      @Stability(Stable) public CfnWorkflow.Builder onExceptionSteps(IResolvable onExceptionSteps)
      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

      Parameters:
      onExceptionSteps - Specifies the steps (actions) to take if errors are encountered during execution of the workflow. This parameter is required.
      Returns:
      this
    • onExceptionSteps

      @Stability(Stable) public CfnWorkflow.Builder onExceptionSteps(List<? extends Object> onExceptionSteps)
      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

      Parameters:
      onExceptionSteps - Specifies the steps (actions) to take if errors are encountered during execution of the workflow. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnWorkflow.Builder tags(List<? extends CfnTag> tags)
      Key-value pairs that can be used to group and search for workflows.

      Tags are metadata attached to workflows for any purpose.

      Parameters:
      tags - Key-value pairs that can be used to group and search for workflows. This parameter is required.
      Returns:
      this
    • build

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