public static final class ChoiceProps.Builder
extends java.lang.Object
ChoiceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChoiceProps |
build()
Builds the configured instance.
|
ChoiceProps.Builder |
comment(java.lang.String comment)
Sets the value of
ChoiceProps.getComment() |
ChoiceProps.Builder |
inputPath(java.lang.String inputPath)
Sets the value of
ChoiceProps.getInputPath() |
ChoiceProps.Builder |
outputPath(java.lang.String outputPath)
Sets the value of
ChoiceProps.getOutputPath() |
public ChoiceProps.Builder comment(java.lang.String comment)
ChoiceProps.getComment()
comment
- An optional description for this state.this
public ChoiceProps.Builder inputPath(java.lang.String inputPath)
ChoiceProps.getInputPath()
inputPath
- JSONPath expression to select part of the state to be the input to this state.
May also be the special value DISCARD, which will cause the effective
input to be the empty object {}.this
public ChoiceProps.Builder outputPath(java.lang.String outputPath)
ChoiceProps.getOutputPath()
outputPath
- JSONPath expression to select part of the state to be the output to this state.
May also be the special value DISCARD, which will cause the effective
output to be the empty object {}.this
public ChoiceProps build()
ChoiceProps
java.lang.NullPointerException
- if any required attribute was not provided