Class CfnNotificationChannel.NotificationFilterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsguru.CfnNotificationChannel.NotificationFilterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationChannel.NotificationFilterConfigProperty>
- Enclosing interface:
CfnNotificationChannel.NotificationFilterConfigProperty
@Stability(Stable)
public static final class CfnNotificationChannel.NotificationFilterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationChannel.NotificationFilterConfigProperty>
A builder for
CfnNotificationChannel.NotificationFilterConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.messageTypes(List<String> messageTypes) severities(List<String> severities) Sets the value ofCfnNotificationChannel.NotificationFilterConfigProperty.getSeverities()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
messageTypes
@Stability(Stable) public CfnNotificationChannel.NotificationFilterConfigProperty.Builder messageTypes(List<String> messageTypes) - Parameters:
messageTypes- The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.- Returns:
this
-
severities
@Stability(Stable) public CfnNotificationChannel.NotificationFilterConfigProperty.Builder severities(List<String> severities) Sets the value ofCfnNotificationChannel.NotificationFilterConfigProperty.getSeverities()- Parameters:
severities- The severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights withHIGHandMEDIUMseverity levels. For more information, see Understanding insight severities .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationChannel.NotificationFilterConfigProperty>- Returns:
- a new instance of
CfnNotificationChannel.NotificationFilterConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-