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