Class ChoiceTransitionOptions.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ChoiceTransitionOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChoiceTransitionOptions>
- Enclosing interface:
ChoiceTransitionOptions
@Stability(Stable)
public static final class ChoiceTransitionOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ChoiceTransitionOptions>
A builder for
ChoiceTransitionOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofChoiceTransitionOptions.getComment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofChoiceTransitionOptions.getComment()
- Parameters:
comment
- An optional description for the choice transition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ChoiceTransitionOptions>
- Returns:
- a new instance of
ChoiceTransitionOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-