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