Modifier and Type | Method and Description |
---|---|
Parallel |
build() |
Parallel.Builder |
comment(java.lang.String comment)
An optional description for this state.
|
static Parallel.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
Parallel.Builder |
inputPath(java.lang.String inputPath)
JSONPath expression to select part of the state to be the input to this state.
|
Parallel.Builder |
outputPath(java.lang.String outputPath)
JSONPath expression to select part of the state to be the output to this state.
|
Parallel.Builder |
resultPath(java.lang.String resultPath)
JSONPath expression to indicate where to inject the state's output.
|
Parallel.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 Parallel.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.Parallel.Builder
.public Parallel.Builder comment(java.lang.String comment)
Default: No comment
comment
- An optional description for this state. This parameter is required.this
public Parallel.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 Parallel.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 Parallel.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 Parallel.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 Parallel build()