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();
 
  • Method Details

    • getActual

      @Stability(Experimental) @NotNull ActualResult getActual()
      (experimental) The actual results to compare.
    • getExpected

      @Stability(Experimental) @NotNull ExpectedResult getExpected()
      (experimental) The expected result to assert.
    • getFailDeployment

      @Stability(Experimental) @Nullable default Boolean 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

      @Stability(Experimental) static EqualsAssertionProps.Builder builder()
      Returns:
      a EqualsAssertionProps.Builder of EqualsAssertionProps