public static final class ParallelState.Builder extends Object implements InputOutputResultPathBuilder<ParallelState.Builder>
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)
InputOutputPathBuilder
inputPath
in interface InputOutputPathBuilder<ParallelState.Builder>
inputPath
- New path value.public ParallelState.Builder resultPath(String resultPath)
ResultPathBuilder
resultPath
in interface ResultPathBuilder<ParallelState.Builder>
resultPath
- New path value.public ParallelState.Builder outputPath(String outputPath)
InputOutputPathBuilder
outputPath
in interface InputOutputPathBuilder<ParallelState.Builder>
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()
build
in interface Buildable<State>
ParallelState
object.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.