public static final class ParallelState.Builder extends Object
ParallelState
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
ParallelState.Builder |
branch(Branch.Builder branchBuilder)
REQUIRED.
|
ParallelState.Builder |
branches(Branch.Builder... branchBuilders)
REQUIRED.
|
ParallelState |
build() |
ParallelState.Builder |
catcher(Catcher.Builder catcherBuilder)
OPTIONAL.
|
ParallelState.Builder |
catchers(Catcher.Builder... catcherBuilders)
OPTIONAL.
|
ParallelState.Builder |
comment(String comment)
OPTIONAL.
|
ParallelState.Builder |
inputPath(String inputPath)
OPTIONAL.
|
ParallelState.Builder |
outputPath(String outputPath)
OPTIONAL.
|
ParallelState.Builder |
resultPath(String resultPath)
OPTIONAL.
|
ParallelState.Builder |
retrier(Retrier.Builder retrierBuilder)
OPTIONAL.
|
ParallelState.Builder |
retriers(Retrier.Builder... retrierBuilders)
OPTIONAL.
|
ParallelState.Builder |
transition(Transition.Builder builder)
REQUIRED.
|
public ParallelState.Builder comment(String comment)
comment
- New comment.public ParallelState.Builder branch(Branch.Builder branchBuilder)
branchBuilder
- Instance of Branch.Builder
. Note that the Branch
object is not built until the ParallelState
is built so any modifications on the
state builder will be reflected in this object.public ParallelState.Builder branches(Branch.Builder... branchBuilders)
branchBuilders
- Instances of Branch.Builder
. Note that the Branch
object is not built until the ParallelState
is built so any modifications on the
state builder will be reflected in this object.public ParallelState.Builder inputPath(String inputPath)
inputPath
- New path value.public ParallelState.Builder resultPath(String resultPath)
resultPath
- New path value.public ParallelState.Builder outputPath(String outputPath)
outputPath
- New path value.public ParallelState.Builder transition(Transition.Builder builder)
builder
- New transition.public ParallelState.Builder retriers(Retrier.Builder... retrierBuilders)
Retrier
s to this states retries. If a single branch fails then the entire parallel state is
considered failed and eligible for retry.retrierBuilders
- Instances of Retrier.Builder
. Note that the Retrier
object is not built until the ParallelState
is built so any modifications on
the state builder will be reflected in this object.public ParallelState.Builder retrier(Retrier.Builder retrierBuilder)
Retrier
to this states retries. If a single branch fails then the entire parallel state is
considered failed and eligible for retry.retrierBuilder
- Instance of Retrier.Builder
. Note that the Retrier
object is not built until the ParallelState
is built so any modifications on
the
state builder will be reflected in this object.public ParallelState.Builder catchers(Catcher.Builder... catcherBuilders)
Catcher
s to this states catchers. If a single branch fails then the entire parallel state
is considered failed and eligible to be caught.catcherBuilders
- Instances of Catcher.Builder
. Note that the Catcher
object is not built until the ParallelState
is built so any modifications on
the state builder will be reflected in this object.public ParallelState.Builder catcher(Catcher.Builder catcherBuilder)
Catcher
to this states catchers. If a single branch fails then the entire parallel state
is
considered failed and eligible to be caught.catcherBuilder
- Instance of Catcher.Builder
. Note that the Catcher
object is not built until the ParallelState
is built so any modifications on
the
state builder will be reflected in this object.public ParallelState build()
ParallelState
object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.