Class MatchCapture.Builder
java.lang.Object
software.amazon.awscdk.assertions.MatchCapture.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchCapture>
- Enclosing interface:
MatchCapture
@Stability(Stable)
public static final class MatchCapture.Builder
extends Object
implements software.amazon.jsii.Builder<MatchCapture>
A builder for
MatchCapture
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofMatchCapture.getCapture()
Sets the value ofMatchCapture.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capture
Sets the value ofMatchCapture.getCapture()
- Parameters:
capture
- The instance of Capture class to which this capture is associated with. This parameter is required.- Returns:
this
-
value
Sets the value ofMatchCapture.getValue()
- Parameters:
value
- The value that was captured. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MatchCapture>
- Returns:
- a new instance of
MatchCapture
- Throws:
NullPointerException
- if any required attribute was not provided
-