| Modifier and Type | Method and Description |
|---|---|
Fail |
build() |
Fail.Builder |
cause(String cause)
A description for the cause of the failure.
|
Fail.Builder |
comment(String comment)
An optional description for this state.
|
static Fail.Builder |
create(Construct scope,
String id)
EXPERIMENTAL
|
Fail.Builder |
error(String error)
Error code used to represent this failure.
|
@Stability(value=Experimental) public static Fail.Builder create(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
EXPERIMENTAL
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
EXPERIMENTAL
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
EXPERIMENTAL
error - Error code used to represent this failure. This parameter is required.this@Stability(value=Experimental) public Fail build()
Copyright © 2020. All rights reserved.