Class SyntheticsCanaryTestRunFailure.CanaryRunTimeline.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryTestRunFailure.CanaryRunTimeline.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SyntheticsCanaryTestRunFailure.CanaryRunTimeline>
- Enclosing interface:
SyntheticsCanaryTestRunFailure.CanaryRunTimeline
@Stability(Experimental)
public static final class SyntheticsCanaryTestRunFailure.CanaryRunTimeline.Builder
extends Object
implements software.amazon.jsii.Builder<SyntheticsCanaryTestRunFailure.CanaryRunTimeline>
A builder for
SyntheticsCanaryTestRunFailure.CanaryRunTimeline-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSyntheticsCanaryTestRunFailure.CanaryRunTimeline.getCompleted()Sets the value ofSyntheticsCanaryTestRunFailure.CanaryRunTimeline.getStarted()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
completed
@Stability(Experimental) public SyntheticsCanaryTestRunFailure.CanaryRunTimeline.Builder completed(List<String> completed) Sets the value ofSyntheticsCanaryTestRunFailure.CanaryRunTimeline.getCompleted()- Parameters:
completed- completed property. Specify an array of string values to match this event if the actual value of completed is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
started
@Stability(Experimental) public SyntheticsCanaryTestRunFailure.CanaryRunTimeline.Builder started(List<String> started) Sets the value ofSyntheticsCanaryTestRunFailure.CanaryRunTimeline.getStarted()- Parameters:
started- started property. Specify an array of string values to match this event if the actual value of started is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SyntheticsCanaryTestRunFailure.CanaryRunTimeline>- Returns:
- a new instance of
SyntheticsCanaryTestRunFailure.CanaryRunTimeline - Throws:
NullPointerException- if any required attribute was not provided
-