| Modifier and Type | Method and Description |
|---|---|
Fail |
build() |
Fail.Builder |
cause(String cause)
(experimental) A description for the cause of the failure.
|
Fail.Builder |
comment(String comment)
(experimental) An optional description for this state.
|
static Fail.Builder |
create(software.constructs.Construct scope,
String id) |
Fail.Builder |
error(String error)
(experimental) Error code used to represent this failure.
|
@Stability(value=Experimental) public static Fail.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Fail.Builder.@Stability(value=Experimental) public Fail.Builder cause(String cause)
Default: No description
cause - A description for the cause of the failure. This parameter is required.this@Stability(value=Experimental) public Fail.Builder comment(String comment)
Default: No comment
comment - An optional description for this state. This parameter is required.this@Stability(value=Experimental) public Fail.Builder error(String error)
Default: No error code
error - Error code used to represent this failure. This parameter is required.thisCopyright © 2021. All rights reserved.