Class EqualsAssertion.Builder

java.lang.Object
software.amazon.awscdk.integtests.alpha.EqualsAssertion.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<EqualsAssertion>
Enclosing class:
EqualsAssertion

@Stability(Experimental) public static final class EqualsAssertion.Builder extends Object implements software.amazon.jsii.Builder<EqualsAssertion>
(experimental) A fluent builder for EqualsAssertion.
  • Method Details

    • create

      @Stability(Experimental) public static EqualsAssertion.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of EqualsAssertion.Builder.
    • actual

      @Stability(Experimental) public EqualsAssertion.Builder actual(ActualResult actual)
      (experimental) The actual results to compare.

      Parameters:
      actual - The actual results to compare. This parameter is required.
      Returns:
      this
    • expected

      @Stability(Experimental) public EqualsAssertion.Builder expected(ExpectedResult expected)
      (experimental) The expected result to assert.

      Parameters:
      expected - The expected result to assert. This parameter is required.
      Returns:
      this
    • failDeployment

      @Stability(Experimental) public EqualsAssertion.Builder failDeployment(Boolean failDeployment)
      (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

      Parameters:
      failDeployment - Set this to true if a failed assertion should result in a CloudFormation deployment failure. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public EqualsAssertion build()
      Specified by:
      build in interface software.amazon.jsii.Builder<EqualsAssertion>
      Returns:
      a newly built instance of EqualsAssertion.