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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofAssertionResult.getAssertion()build()Builds the configured instance.Sets the value ofAssertionResult.getFailed()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
assertionSets the value ofAssertionResult.getAssertion()- Parameters:
- assertion- The result of an assertion. This parameter is required.
- Returns:
- this
 
- 
failedSets the value ofAssertionResult.getFailed()- Parameters:
- failed- Whether or not the assertion failed.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<AssertionResult>
- Returns:
- a new instance of AssertionResult
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-