public static final class Branch.Builder extends Object implements com.amazonaws.services.stepfunctions.builder.internal.Buildable<Branch>
Branch
.com.amazonaws.services.stepfunctions.builder.internal.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
Branch |
build() |
Branch.Builder |
comment(String comment)
OPTIONAL.
|
Branch.Builder |
startAt(String startAt)
REQUIRED.
|
Branch.Builder |
state(String stateName,
State.Builder stateBuilder)
REQUIRED.
|
public Branch.Builder startAt(String startAt)
state(String,
State.Builder)
.startAt
- Name of starting state.public Branch.Builder comment(String comment)
comment
- New comment.public Branch.Builder state(String stateName, State.Builder stateBuilder)
stateName
- Name of the statestateBuilder
- Instance of State.Builder
. Note that
the State
object is not built until the Branch
is built so any modifications on the state builder
will be reflected in this object.public Branch build()
build
in interface com.amazonaws.services.stepfunctions.builder.internal.Buildable<Branch>
Branch
object.Copyright © 2017. All rights reserved.