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