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