Class CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cloudwatch.events.CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps>
- Enclosing interface:
CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps
@Stability(Experimental)
public static final class CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(CloudWatchAlarmConfigurationChange.Configuration configuration) eventMetadata(AWSEventMetadataProps eventMetadata)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmName
@Stability(Experimental) public CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder alarmName(List<String> alarmName) Sets the value ofCloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.getAlarmName()- 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
-
configuration
@Stability(Experimental) public CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder configuration(CloudWatchAlarmConfigurationChange.Configuration configuration) Sets the value ofCloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.getConfiguration()- Parameters:
configuration- configuration property. Specify an array of string values to match this event if the actual value of configuration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
operation
@Stability(Experimental) public CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder operation(List<String> operation) Sets the value ofCloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.getOperation()- Parameters:
operation- operation property. Specify an array of string values to match this event if the actual value of operation is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.Builder state(CloudWatchAlarmConfigurationChange.State state) Sets the value ofCloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state 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 CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps>- Returns:
- a new instance of
CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-