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