@Stability(value=Experimental) public static final class StateProps.Builder extends Object implements software.amazon.jsii.Builder<StateProps>
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,? extends Object> parameters)
Sets the value of
StateProps.getParameters() |
StateProps.Builder |
resultPath(String resultPath)
Sets the value of
StateProps.getResultPath() |
StateProps.Builder |
resultSelector(Map<String,? extends Object> resultSelector)
Sets the value of
StateProps.getResultSelector() |
@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 JsonPath.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 JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this@Stability(value=Experimental) public StateProps.Builder parameters(Map<String,? extends 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 JsonPath.DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public StateProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
StateProps.getResultSelector()resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this@Stability(value=Experimental) public StateProps build()
build in interface software.amazon.jsii.Builder<StateProps>StatePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.