Class CfnNotificationProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnNotificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationProps>
- Enclosing interface:
CfnNotificationProps
@Stability(Stable)
public static final class CfnNotificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationProps>
A builder for
CfnNotificationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.content(IResolvable content) Sets the value ofCfnNotificationProps.getContent()Sets the value ofCfnNotificationProps.getContent()Sets the value ofCfnNotificationProps.getExpiresAt()instanceArn(String instanceArn) Sets the value ofCfnNotificationProps.getInstanceArn()Sets the value ofCfnNotificationProps.getPriority()recipients(List<String> recipients) Sets the value ofCfnNotificationProps.getRecipients()Sets the value ofCfnNotificationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnNotificationProps.getContent()- Parameters:
content- The content of a notification. This parameter is required.- Returns:
this
-
content
@Stability(Stable) public CfnNotificationProps.Builder content(CfnNotification.NotificationContentProperty content) Sets the value ofCfnNotificationProps.getContent()- Parameters:
content- The content of a notification. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnNotificationProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
expiresAt
Sets the value ofCfnNotificationProps.getExpiresAt()- Parameters:
expiresAt- The time a notification will expire.- Returns:
this
-
priority
Sets the value ofCfnNotificationProps.getPriority()- Parameters:
priority- The priority of notification. In the Amazon Connect console, when you create a notification, you are prompted to assign one of the following priorities: High (HIGH) or LOW (LOW)- Returns:
this
-
recipients
Sets the value ofCfnNotificationProps.getRecipients()- Parameters:
recipients- The recipients of the notification.- Returns:
this
-
tags
Sets the value ofCfnNotificationProps.getTags()- Parameters:
tags- One or more tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationProps>- Returns:
- a new instance of
CfnNotificationProps - Throws:
NullPointerException- if any required attribute was not provided
-