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