@Stability(value=Experimental) public static final class StateProps.Builder extends Object
StateProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StateProps |
build()
Builds the configured instance.
|
StateProps.Builder |
comment(String comment)
Sets the value of
StateProps.getComment() |
StateProps.Builder |
inputPath(String inputPath)
Sets the value of
StateProps.getInputPath() |
StateProps.Builder |
outputPath(String outputPath)
Sets the value of
StateProps.getOutputPath() |
StateProps.Builder |
parameters(Map<String,Object> parameters)
Sets the value of
StateProps.getParameters() |
StateProps.Builder |
resultPath(String resultPath)
Sets the value of
StateProps.getResultPath() |
@Stability(value=Experimental) public StateProps.Builder comment(String comment)
StateProps.getComment()comment - A comment describing this state.this@Stability(value=Experimental) public StateProps.Builder inputPath(String inputPath)
StateProps.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@Stability(value=Experimental) public StateProps.Builder outputPath(String outputPath)
StateProps.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@Stability(value=Experimental) public StateProps.Builder parameters(Map<String,Object> parameters)
StateProps.getParameters()parameters - Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.this@Stability(value=Experimental) public StateProps.Builder resultPath(String resultPath)
StateProps.getResultPath()resultPath - JSONPath expression to indicate where to inject the state's output.
May also be the special value DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public StateProps build()
StatePropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.