Class SyntheticsCanaryStatusChange.ChangedConfig.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryStatusChange.ChangedConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SyntheticsCanaryStatusChange.ChangedConfig>
- Enclosing interface:
SyntheticsCanaryStatusChange.ChangedConfig
@Stability(Experimental)
public static final class SyntheticsCanaryStatusChange.ChangedConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SyntheticsCanaryStatusChange.ChangedConfig>
A builder for
SyntheticsCanaryStatusChange.ChangedConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionArn(SyntheticsCanaryStatusChange.ExecutionArn executionArn) Sets the value ofSyntheticsCanaryStatusChange.ChangedConfig.getExecutionArn()testCodeLayerVersionArn(SyntheticsCanaryStatusChange.TestCodeLayerVersionArn testCodeLayerVersionArn) Sets the value ofSyntheticsCanaryStatusChange.ChangedConfig.getTestCodeLayerVersionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionArn
@Stability(Experimental) public SyntheticsCanaryStatusChange.ChangedConfig.Builder executionArn(SyntheticsCanaryStatusChange.ExecutionArn executionArn) Sets the value ofSyntheticsCanaryStatusChange.ChangedConfig.getExecutionArn()- Parameters:
executionArn- executionArn property. Specify an array of string values to match this event if the actual value of executionArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
testCodeLayerVersionArn
@Stability(Experimental) public SyntheticsCanaryStatusChange.ChangedConfig.Builder testCodeLayerVersionArn(SyntheticsCanaryStatusChange.TestCodeLayerVersionArn testCodeLayerVersionArn) Sets the value ofSyntheticsCanaryStatusChange.ChangedConfig.getTestCodeLayerVersionArn()- Parameters:
testCodeLayerVersionArn- testCodeLayerVersionArn property. Specify an array of string values to match this event if the actual value of testCodeLayerVersionArn 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<SyntheticsCanaryStatusChange.ChangedConfig>- Returns:
- a new instance of
SyntheticsCanaryStatusChange.ChangedConfig - Throws:
NullPointerException- if any required attribute was not provided
-