Class EqualsAssertion.Builder
java.lang.Object
software.amazon.awscdk.integtests.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 Summary
Modifier and TypeMethodDescriptionactual
(ActualResult actual) (experimental) The actual results to compare.build()
static EqualsAssertion.Builder
expected
(ExpectedResult expected) (experimental) The expected result to assert.failDeployment
(Boolean failDeployment) (experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.
-
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
(experimental) The actual results to compare.- Parameters:
actual
- The actual results to compare. This parameter is required.- Returns:
this
-
expected
(experimental) The expected result to assert.- Parameters:
expected
- The expected result to assert. This parameter is required.- Returns:
this
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EqualsAssertion>
- Returns:
- a newly built instance of
EqualsAssertion
.
-