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