Class AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cloudwatch.events.AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration>
- Enclosing interface:
AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration
@Stability(Experimental)
public static final class AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder
extends Object
implements software.amazon.jsii.Builder<AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionsEnabled(List<String> actionsEnabled) actionsSuppressor(List<String> actionsSuppressor) actionsSuppressorExtensionPeriod(List<String> actionsSuppressorExtensionPeriod) actionsSuppressorWaitPeriod(List<String> actionsSuppressorWaitPeriod) alarmActions(List<String> alarmActions) build()Builds the configured instance.comparisonOperator(List<String> comparisonOperator) datapointsToAlarm(List<String> datapointsToAlarm) description(List<String> description) evaluateLowSampleCountPercentile(List<String> evaluateLowSampleCountPercentile) evaluationPeriods(List<String> evaluationPeriods) insufficientDataActions(List<String> insufficientDataActions) metrics(List<? extends AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem> metrics) treatMissingData(List<String> treatMissingData)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionsEnabled
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder actionsEnabled(List<String> actionsEnabled) - Parameters:
actionsEnabled- actionsEnabled property. Specify an array of string values to match this event if the actual value of actionsEnabled is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
actionsSuppressor
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder actionsSuppressor(List<String> actionsSuppressor) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getActionsSuppressor()- Parameters:
actionsSuppressor- actionsSuppressor property. Specify an array of string values to match this event if the actual value of actionsSuppressor is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
actionsSuppressorExtensionPeriod
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder actionsSuppressorExtensionPeriod(List<String> actionsSuppressorExtensionPeriod) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getActionsSuppressorExtensionPeriod()- Parameters:
actionsSuppressorExtensionPeriod- actionsSuppressorExtensionPeriod property. Specify an array of string values to match this event if the actual value of actionsSuppressorExtensionPeriod is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
actionsSuppressorWaitPeriod
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder actionsSuppressorWaitPeriod(List<String> actionsSuppressorWaitPeriod) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getActionsSuppressorWaitPeriod()- Parameters:
actionsSuppressorWaitPeriod- actionsSuppressorWaitPeriod property. Specify an array of string values to match this event if the actual value of actionsSuppressorWaitPeriod is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
alarmActions
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder alarmActions(List<String> alarmActions) - Parameters:
alarmActions- alarmActions property. Specify an array of string values to match this event if the actual value of alarmActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
alarmName
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder alarmName(List<String> alarmName) - Parameters:
alarmName- alarmName property. Specify an array of string values to match this event if the actual value of alarmName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
alarmRule
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder alarmRule(List<String> alarmRule) - Parameters:
alarmRule- alarmRule property. Specify an array of string values to match this event if the actual value of alarmRule is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
comparisonOperator
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder comparisonOperator(List<String> comparisonOperator) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.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 AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder datapointsToAlarm(List<String> datapointsToAlarm) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.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
-
description
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder description(List<String> description) - Parameters:
description- description property. Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
evaluateLowSampleCountPercentile
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder evaluateLowSampleCountPercentile(List<String> evaluateLowSampleCountPercentile) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getEvaluateLowSampleCountPercentile()- Parameters:
evaluateLowSampleCountPercentile- evaluateLowSampleCountPercentile property. Specify an array of string values to match this event if the actual value of evaluateLowSampleCountPercentile is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
evaluationPeriods
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder evaluationPeriods(List<String> evaluationPeriods) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getEvaluationPeriods()- Parameters:
evaluationPeriods- evaluationPeriods property. Specify an array of string values to match this event if the actual value of evaluationPeriods is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insufficientDataActions
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder insufficientDataActions(List<String> insufficientDataActions) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getInsufficientDataActions()- Parameters:
insufficientDataActions- insufficientDataActions property. Specify an array of string values to match this event if the actual value of insufficientDataActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
metrics
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder metrics(List<? extends AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem> metrics) - Parameters:
metrics- metrics property. Specify an array of string values to match this event if the actual value of metrics is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
okActions
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder okActions(List<String> okActions) - Parameters:
okActions- okActions property. Specify an array of string values to match this event if the actual value of okActions 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 AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder threshold(List<String> threshold) - 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
-
timestamp
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder timestamp(List<String> timestamp) - Parameters:
timestamp- timestamp property. Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
treatMissingData
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.Builder treatMissingData(List<String> treatMissingData) Sets the value ofAlarmEvents.CloudWatchAlarmConfigurationChange.Configuration.getTreatMissingData()- Parameters:
treatMissingData- treatMissingData property. Specify an array of string values to match this event if the actual value of treatMissingData is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration>- Returns:
- a new instance of
AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration - Throws:
NullPointerException- if any required attribute was not provided
-