Class CfnActivity.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnActivity.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnActivity>
- Enclosing class:
- CfnActivity
@Stability(Stable)
public static final class CfnActivity.Builder
extends Object
implements software.amazon.jsii.Builder<CfnActivity>
A fluent builder for
CfnActivity.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnActivity.BuilderThe name of the activity.tags(List<? extends CfnActivity.TagsEntryProperty> tags) The list of tags to add to a resource.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnActivity.Builder.
-
name
The name of the activity.A name must not contain:
- white space
- brackets
< > { } [ ] - wildcard characters
? * - special characters
" # % \ ^ | ~$ & , ; : /` - control characters (
U+0000-001F,U+007F-009F)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
- Parameters:
name- The name of the activity. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnActivity.Builder tags(List<? extends CfnActivity.TagsEntryProperty> tags) The list of tags to add to a resource.Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.- Parameters:
tags- The list of tags to add to a resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnActivity>- Returns:
- a newly built instance of
CfnActivity.
-