| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FailProps |
build()
Builds the configured instance.
|
FailProps.Builder |
cause(String cause)
Sets the value of
FailProps.getCause() |
FailProps.Builder |
comment(String comment)
Sets the value of
FailProps.getComment() |
FailProps.Builder |
error(String error)
Sets the value of
FailProps.getError() |
@Stability(value=Experimental) public FailProps.Builder cause(String cause)
FailProps.getCause()cause - A description for the cause of the failure.this@Stability(value=Experimental) public FailProps.Builder comment(String comment)
FailProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public FailProps.Builder error(String error)
FailProps.getError()error - Error code used to represent this failure.this@Stability(value=Experimental) public FailProps build()
build in interface software.amazon.jsii.Builder<FailProps>FailPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.