Class SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline>
- Enclosing interface:
SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline
@Stability(Experimental)
public static final class SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.Builder
extends Object
implements software.amazon.jsii.Builder<SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline>
A builder for
SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.getCompleted()Sets the value ofSyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.getStarted()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
completed
@Stability(Experimental) public SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.Builder completed(List<String> completed) Sets the value ofSyntheticsCanaryTestRunSuccessful.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 SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline.Builder started(List<String> started) Sets the value ofSyntheticsCanaryTestRunSuccessful.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<SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline>- Returns:
- a new instance of
SyntheticsCanaryTestRunSuccessful.CanaryRunTimeline - Throws:
NullPointerException- if any required attribute was not provided
-