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