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
encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) The encryptionConfiguration object used for server-side encryption of the activity inputs.
-
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
-
encryptionConfiguration
@Stability(Stable) public Activity.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryptionConfiguration object used for server-side encryption of the activity inputs.Default: - data is transparently encrypted using an AWS owned key
- Parameters:
encryptionConfiguration
- The encryptionConfiguration object used for server-side encryption of the activity inputs. This parameter is required.- Returns:
this
-
build
-