Class ActivityProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ActivityProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ActivityProps>
- Enclosing interface:
ActivityProps
@Stability(Stable)
public static final class ActivityProps.Builder
extends Object
implements software.amazon.jsii.Builder<ActivityProps>
A builder for
ActivityProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivityName
(String activityName) Sets the value ofActivityProps.getActivityName()
build()
Builds the configured instance.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) Sets the value ofActivityProps.getEncryptionConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activityName
Sets the value ofActivityProps.getActivityName()
- Parameters:
activityName
- The name for this activity.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public ActivityProps.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Sets the value ofActivityProps.getEncryptionConfiguration()
- Parameters:
encryptionConfiguration
- The encryptionConfiguration object used for server-side encryption of the activity inputs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ActivityProps>
- Returns:
- a new instance of
ActivityProps
- Throws:
NullPointerException
- if any required attribute was not provided
-