Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MapProps |
build()
Builds the configured instance.
|
MapProps.Builder |
comment(java.lang.String comment)
Sets the value of
MapProps.getComment() |
MapProps.Builder |
inputPath(java.lang.String inputPath)
Sets the value of
MapProps.getInputPath() |
MapProps.Builder |
itemsPath(java.lang.String itemsPath)
Sets the value of
MapProps.getItemsPath() |
MapProps.Builder |
maxConcurrency(java.lang.Number maxConcurrency)
Sets the value of
MapProps.getMaxConcurrency() |
MapProps.Builder |
outputPath(java.lang.String outputPath)
Sets the value of
MapProps.getOutputPath() |
MapProps.Builder |
parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Sets the value of
MapProps.getParameters() |
MapProps.Builder |
resultPath(java.lang.String resultPath)
Sets the value of
MapProps.getResultPath() |
MapProps.Builder |
resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
Sets the value of
MapProps.getResultSelector() |
public MapProps.Builder comment(java.lang.String comment)
MapProps.getComment()
comment
- An optional description for this state.this
public MapProps.Builder inputPath(java.lang.String inputPath)
MapProps.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 MapProps.Builder itemsPath(java.lang.String itemsPath)
MapProps.getItemsPath()
itemsPath
- JSONPath expression to select the array to iterate over.this
public MapProps.Builder maxConcurrency(java.lang.Number maxConcurrency)
MapProps.getMaxConcurrency()
maxConcurrency
- MaxConcurrency.
An upper bound on the number of iterations you want running at once.this
public MapProps.Builder outputPath(java.lang.String outputPath)
MapProps.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 MapProps.Builder parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
MapProps.getParameters()
parameters
- The JSON that you want to override your default iteration input.this
public MapProps.Builder resultPath(java.lang.String resultPath)
MapProps.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
public MapProps.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
MapProps.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