Class SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps>
- Enclosing interface:
SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps
@Stability(Experimental)
public static final class SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.canaryName(List<String> canaryName) changedConfig(SyntheticsCanaryStatusChange.ChangedConfig changedConfig) currentState(List<String> currentState) eventMetadata(AWSEventMetadataProps eventMetadata) previousState(List<String> previousState) sourceLocation(List<String> sourceLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder accountId(List<String> accountId) - Parameters:
accountId- account-id property. Specify an array of string values to match this event if the actual value of account-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
canaryId
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder canaryId(List<String> canaryId) - Parameters:
canaryId- canary-id property. Specify an array of string values to match this event if the actual value of canary-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
canaryName
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder canaryName(List<String> canaryName) - Parameters:
canaryName- canary-name property. Specify an array of string values to match this event if the actual value of canary-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
changedConfig
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder changedConfig(SyntheticsCanaryStatusChange.ChangedConfig changedConfig) - Parameters:
changedConfig- changed-config property. Specify an array of string values to match this event if the actual value of changed-config is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
currentState
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder currentState(List<String> currentState) - Parameters:
currentState- current-state property. Specify an array of string values to match this event if the actual value of current-state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder message(List<String> message) - Parameters:
message- message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
previousState
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder previousState(List<String> previousState) - Parameters:
previousState- previous-state property. Specify an array of string values to match this event if the actual value of previous-state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceLocation
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder sourceLocation(List<String> sourceLocation) Sets the value ofSyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.getSourceLocation()- Parameters:
sourceLocation- source-location property. Specify an array of string values to match this event if the actual value of source-location is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
updatedOn
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps.Builder updatedOn(List<String> updatedOn) - Parameters:
updatedOn- updated-on property. Specify an array of string values to match this event if the actual value of updated-on is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps>- Returns:
- a new instance of
SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-