Interface EqualsAssertionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EqualsAssertionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:02:11.887Z")
@Stability(Experimental)
public interface EqualsAssertionProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Options for an EqualsAssertion.
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.*; ActualResult actualResult; ExpectedResult expectedResult; EqualsAssertionProps equalsAssertionProps = EqualsAssertionProps.builder() .actual(actualResult) .expected(expectedResult) // the properties below are optional .failDeployment(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEqualsAssertionProps
static final class
An implementation forEqualsAssertionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EqualsAssertionProps.Builder
builder()
(experimental) The actual results to compare.(experimental) The expected result to assert.default Boolean
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActual
(experimental) The actual results to compare. -
getExpected
(experimental) The expected result to assert. -
getFailDeployment
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.This is only necessary if assertions are being executed outside of
integ-runner
.Default: false
-
builder
- Returns:
- a
EqualsAssertionProps.Builder
ofEqualsAssertionProps
-