Class Activity.Builder

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

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

    • create

      @Stability(Stable) public static Activity.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Activity.Builder.
    • activityName

      @Stability(Stable) public Activity.Builder activityName(String activityName)
      The name for this activity.

      Default: - If not supplied, a name is generated

      Parameters:
      activityName - The name for this activity. This parameter is required.
      Returns:
      this
    • build

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