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