Class ActivityReference.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ActivityReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ActivityReference>
- Enclosing interface:
ActivityReference
@Stability(Stable)
public static final class ActivityReference.Builder
extends Object
implements software.amazon.jsii.Builder<ActivityReference>
A builder for
ActivityReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityArn
(String activityArn) Sets the value ofActivityReference.getActivityArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activityArn
Sets the value ofActivityReference.getActivityArn()
- Parameters:
activityArn
- The Arn of the Activity resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ActivityReference>
- Returns:
- a new instance of
ActivityReference
- Throws:
NullPointerException
- if any required attribute was not provided
-