Class AssertionResult.Builder
java.lang.Object
software.amazon.awscdk.integtests.alpha.AssertionResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssertionResult>
- Enclosing interface:
AssertionResult
@Stability(Experimental)
public static final class AssertionResult.Builder
extends Object
implements software.amazon.jsii.Builder<AssertionResult>
A builder for
AssertionResult-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAssertionResult.getAssertion()build()Builds the configured instance.Sets the value ofAssertionResult.getFailed()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assertion
Sets the value ofAssertionResult.getAssertion()- Parameters:
assertion- The result of an assertion. This parameter is required.- Returns:
this
-
failed
Sets the value ofAssertionResult.getFailed()- Parameters:
failed- Whether or not the assertion failed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssertionResult>- Returns:
- a new instance of
AssertionResult - Throws:
NullPointerException- if any required attribute was not provided
-