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