Modifier and Type | Method and Description |
---|---|
Map |
build() |
Map.Builder |
comment(java.lang.String comment)
An optional description for this state.
|
static Map.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
Map.Builder |
inputPath(java.lang.String inputPath)
JSONPath expression to select part of the state to be the input to this state.
|
Map.Builder |
itemsPath(java.lang.String itemsPath)
JSONPath expression to select the array to iterate over.
|
Map.Builder |
maxConcurrency(java.lang.Number maxConcurrency)
MaxConcurrency.
|
Map.Builder |
outputPath(java.lang.String outputPath)
JSONPath expression to select part of the state to be the output to this state.
|
Map.Builder |
parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
The JSON that you want to override your default iteration input.
|
Map.Builder |
resultPath(java.lang.String resultPath)
JSONPath expression to indicate where to inject the state's output.
|
Map.Builder |
resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
public static Map.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.Map.Builder
.public Map.Builder comment(java.lang.String comment)
Default: No comment
comment
- An optional description for this state. This parameter is required.this
public Map.Builder inputPath(java.lang.String inputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: $
inputPath
- JSONPath expression to select part of the state to be the input to this state. This parameter is required.this
public Map.Builder itemsPath(java.lang.String itemsPath)
Default: $
itemsPath
- JSONPath expression to select the array to iterate over. This parameter is required.this
public Map.Builder maxConcurrency(java.lang.Number maxConcurrency)
An upper bound on the number of iterations you want running at once.
Default: - full concurrency
maxConcurrency
- MaxConcurrency. This parameter is required.this
public Map.Builder outputPath(java.lang.String outputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: $
outputPath
- JSONPath expression to select part of the state to be the output to this state. This parameter is required.this
public Map.Builder parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Default: $
parameters
- The JSON that you want to override your default iteration input. This parameter is required.this
public Map.Builder resultPath(java.lang.String resultPath)
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
resultPath
- JSONPath expression to indicate where to inject the state's output. This parameter is required.this
public Map.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.this
public Map build()