public static final class PassState.Builder extends Object implements InputOutputResultPathBuilder<PassState.Builder>
PassState
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
PassState |
build() |
PassState.Builder |
comment(String comment)
OPTIONAL.
|
PassState.Builder |
inputPath(String inputPath)
OPTIONAL.
|
PassState.Builder |
outputPath(String outputPath)
OPTIONAL.
|
PassState.Builder |
result(Object result)
OPTIONAL.
|
PassState.Builder |
result(String result)
OPTIONAL.
|
PassState.Builder |
resultPath(String resultPath)
OPTIONAL.
|
PassState.Builder |
transition(Transition.Builder transition)
REQUIRED.
|
public PassState.Builder comment(String comment)
comment
- New comment.public PassState.Builder result(Object result)
result
- Object that will be serialized into the JSON document representing this states result.public PassState.Builder result(String result)
result
- JSON result represented as a string.public PassState.Builder inputPath(String inputPath)
InputOutputPathBuilder
inputPath
in interface InputOutputPathBuilder<PassState.Builder>
inputPath
- New path value.public PassState.Builder outputPath(String outputPath)
InputOutputPathBuilder
outputPath
in interface InputOutputPathBuilder<PassState.Builder>
outputPath
- New path value.public PassState.Builder resultPath(String resultPath)
ResultPathBuilder
resultPath
in interface ResultPathBuilder<PassState.Builder>
resultPath
- New path value.public PassState.Builder transition(Transition.Builder transition)
transition
- New transition.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.