Class Wait.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.Wait.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Wait>
- Enclosing class:
Wait
@Stability(Stable)
public static final class Wait.Builder
extends Object
implements software.amazon.jsii.Builder<Wait>
A fluent builder for
Wait
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
An optional description for this state.static Wait.Builder
Optional name for this state.Wait duration.
-
Method Details
-
create
@Stability(Stable) public static Wait.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- Descriptive identifier for this chainable. This parameter is required.- Returns:
- a new instance of
Wait.Builder
.
-
time
Wait duration.- Parameters:
time
- Wait duration. This parameter is required.- Returns:
this
-
comment
An optional description for this state.Default: No comment
- Parameters:
comment
- An optional description for this state. This parameter is required.- Returns:
this
-
stateName
Optional name for this state.Default: - The construct ID will be used as state name
- Parameters:
stateName
- Optional name for this state. This parameter is required.- Returns:
this
-
build
-