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