Class CfnActivityProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnActivityProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnActivityProps>
- Enclosing interface:
- CfnActivityProps
@Stability(Stable)
public static final class CfnActivityProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnActivityProps>
A builder for
CfnActivityProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnActivityProps.getName()tags(List<? extends CfnActivity.TagsEntryProperty> tags) Sets the value ofCfnActivityProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnActivityProps.getName()- Parameters:
name- The name of the activity. This parameter is required. 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 _.
- Returns:
this
-
tags
@Stability(Stable) public CfnActivityProps.Builder tags(List<? extends CfnActivity.TagsEntryProperty> tags) Sets the value ofCfnActivityProps.getTags()- Parameters:
tags- The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols:_ . : / = + - @.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnActivityProps>- Returns:
- a new instance of
CfnActivityProps - Throws:
NullPointerException- if any required attribute was not provided
-