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