Interface AssertionResult
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssertionResult.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:02:11.881Z")
@Stability(Experimental)
public interface AssertionResult
extends software.amazon.jsii.JsiiSerializable
(experimental) The result of an Assertion wrapping the actual result data in another struct.
Needed to access the whole message via getAtt() on the custom resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.integtests.alpha.*; AssertionResult assertionResult = AssertionResult.builder() .assertion("assertion") // the properties below are optional .failed(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAssertionResult
static final class
An implementation forAssertionResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssertionResult.Builder
builder()
(experimental) The result of an assertion.default Boolean
(experimental) Whether or not the assertion failed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssertion
(experimental) The result of an assertion. -
getFailed
(experimental) Whether or not the assertion failed.Default: false
-
builder
- Returns:
- a
AssertionResult.Builder
ofAssertionResult
-