Class CfnWorkflow.Builder

java.lang.Object
software.amazon.awscdk.services.glue.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.
    • defaultRunProperties

      @Stability(Stable) public CfnWorkflow.Builder defaultRunProperties(Object defaultRunProperties)
      A collection of properties to be used as part of each execution of the workflow.

      Parameters:
      defaultRunProperties - A collection of properties to be used as part of each execution of the workflow. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnWorkflow.Builder description(String description)
      A description of the workflow.

      Parameters:
      description - A description of the workflow. This parameter is required.
      Returns:
      this
    • maxConcurrentRuns

      @Stability(Stable) public CfnWorkflow.Builder maxConcurrentRuns(Number maxConcurrentRuns)
      You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs.

      If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

      Parameters:
      maxConcurrentRuns - You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnWorkflow.Builder name(String name)
      The name of the workflow representing the flow.

      Parameters:
      name - The name of the workflow representing the flow. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnWorkflow.Builder tags(Object tags)
      The tags to use with this workflow.

      Parameters:
      tags - The tags to use with this workflow. 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.