Class CfnNotification.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnNotification.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotification>
- Enclosing class:
CfnNotification
@Stability(Stable)
public static final class CfnNotification.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotification>
A fluent builder for
CfnNotification.-
Method Summary
Modifier and TypeMethodDescriptionbuild()content(IResolvable content) The content of a notification.The content of a notification.static CfnNotification.BuilderThe time a notification will expire.instanceArn(String instanceArn) The identifier of the Amazon Connect instance.The priority of notification.recipients(List<String> recipients) The recipients of the notification.One or more tags.
-
Method Details
-
create
@Stability(Stable) public static CfnNotification.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNotification.Builder.
-
content
The content of a notification.- Parameters:
content- The content of a notification. This parameter is required.- Returns:
this- See Also:
-
content
@Stability(Stable) public CfnNotification.Builder content(CfnNotification.NotificationContentProperty content) The content of a notification.- Parameters:
content- The content of a notification. This parameter is required.- Returns:
this- See Also:
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this- See Also:
-
expiresAt
The time a notification will expire.- Parameters:
expiresAt- The time a notification will expire. This parameter is required.- Returns:
this- See Also:
-
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)
- Parameters:
priority- The priority of notification. This parameter is required.- Returns:
this- See Also:
-
recipients
The recipients of the notification.- Parameters:
recipients- The recipients of the notification. This parameter is required.- Returns:
this- See Also:
-
tags
One or more tags.- Parameters:
tags- One or more tags. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotification>- Returns:
- a newly built instance of
CfnNotification.
-