Class CfnPortalPropsMixin.AlarmsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnPortalPropsMixin.AlarmsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortalPropsMixin.AlarmsProperty>
- Enclosing interface:
CfnPortalPropsMixin.AlarmsProperty
@Stability(Stable)
public static final class CfnPortalPropsMixin.AlarmsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortalPropsMixin.AlarmsProperty>
A builder for
CfnPortalPropsMixin.AlarmsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmRoleArn(String alarmRoleArn) Sets the value ofCfnPortalPropsMixin.AlarmsProperty.getAlarmRoleArn()build()Builds the configured instance.notificationLambdaArn(String notificationLambdaArn) Sets the value ofCfnPortalPropsMixin.AlarmsProperty.getNotificationLambdaArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmRoleArn
@Stability(Stable) public CfnPortalPropsMixin.AlarmsProperty.Builder alarmRoleArn(String alarmRoleArn) Sets the value ofCfnPortalPropsMixin.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 CfnPortalPropsMixin.AlarmsProperty.Builder notificationLambdaArn(String notificationLambdaArn) Sets the value ofCfnPortalPropsMixin.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<CfnPortalPropsMixin.AlarmsProperty>- Returns:
- a new instance of
CfnPortalPropsMixin.AlarmsProperty - Throws:
NullPointerException- if any required attribute was not provided
-