@Stability(value=Experimental) public static final class AssertionResultData.Builder extends Object implements software.amazon.jsii.Builder<AssertionResultData>
AssertionResultData| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AssertionResultData |
build()
Builds the configured instance.
|
AssertionResultData.Builder |
message(String message)
Sets the value of
AssertionResultData.getMessage() |
AssertionResultData.Builder |
status(Status status)
Sets the value of
AssertionResultData.getStatus() |
@Stability(value=Experimental) public AssertionResultData.Builder status(Status status)
AssertionResultData.getStatus()status - The status of the assertion, i.e. pass or fail. This parameter is required.this@Stability(value=Experimental) public AssertionResultData.Builder message(String message)
AssertionResultData.getMessage()message - Any message returned with the assertion result typically this will be the diff if there is any.this@Stability(value=Experimental) public AssertionResultData build()
build in interface software.amazon.jsii.Builder<AssertionResultData>AssertionResultDataNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.