Class AlarmActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.AlarmActionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlarmActionConfig>
- Enclosing interface:
AlarmActionConfig
@Stability(Stable)
public static final class AlarmActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AlarmActionConfig>
A builder for
AlarmActionConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalarmActionArn
(String alarmActionArn) Sets the value ofAlarmActionConfig.getAlarmActionArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmActionArn
Sets the value ofAlarmActionConfig.getAlarmActionArn()
- Parameters:
alarmActionArn
- Return the ARN that should be used for a CloudWatch Alarm action. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AlarmActionConfig>
- Returns:
- a new instance of
AlarmActionConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-