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 Summary
Modifier and TypeMethodDescriptionactivityName
(String activityName) The name for this activity.build()
static Activity.Builder
-
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
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
-