Class CfnPortal.AlarmsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnPortal.AlarmsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortal.AlarmsProperty>
- Enclosing interface:
- CfnPortal.AlarmsProperty
@Stability(Stable)
public static final class CfnPortal.AlarmsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortal.AlarmsProperty>
A builder for
CfnPortal.AlarmsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmRoleArn(String alarmRoleArn) Sets the value ofCfnPortal.AlarmsProperty.getAlarmRoleArn()build()Builds the configured instance.notificationLambdaArn(String notificationLambdaArn) Sets the value ofCfnPortal.AlarmsProperty.getNotificationLambdaArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmRoleArn
Sets the value ofCfnPortal.AlarmsProperty.getAlarmRoleArn()- Parameters:
alarmRoleArn- The ARN of the IAM role that allows the alarm to perform actions and access AWS resources and services, such as AWS IoT Events .- Returns:
this
-
notificationLambdaArn
@Stability(Stable) public CfnPortal.AlarmsProperty.Builder notificationLambdaArn(String notificationLambdaArn) Sets the value ofCfnPortal.AlarmsProperty.getNotificationLambdaArn()- Parameters:
notificationLambdaArn- The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the AWS IoT Events Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPortal.AlarmsProperty>- Returns:
- a new instance of
CfnPortal.AlarmsProperty - Throws:
NullPointerException- if any required attribute was not provided
-