Class CfnNotificationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnNotificationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationMixinProps>
- Enclosing interface:
CfnNotificationMixinProps
@Stability(Stable)
public static final class CfnNotificationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationMixinProps>
A builder for
CfnNotificationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNotificationMixinProps.getContent()content(IResolvable content) Sets the value ofCfnNotificationMixinProps.getContent()Sets the value ofCfnNotificationMixinProps.getExpiresAt()instanceArn(String instanceArn) Sets the value ofCfnNotificationMixinProps.getInstanceArn()Sets the value ofCfnNotificationMixinProps.getPriority()recipients(List<String> recipients) Sets the value ofCfnNotificationMixinProps.getRecipients()Sets the value ofCfnNotificationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnNotificationMixinProps.getContent()- Parameters:
content- The content of a notification.- Returns:
this
-
content
@Stability(Stable) public CfnNotificationMixinProps.Builder content(CfnNotificationPropsMixin.NotificationContentProperty content) Sets the value ofCfnNotificationMixinProps.getContent()- Parameters:
content- The content of a notification.- Returns:
this
-
expiresAt
Sets the value ofCfnNotificationMixinProps.getExpiresAt()- Parameters:
expiresAt- The time a notification will expire.- Returns:
this
-
instanceArn
Sets the value ofCfnNotificationMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
priority
Sets the value ofCfnNotificationMixinProps.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 ofCfnNotificationMixinProps.getRecipients()- Parameters:
recipients- The recipients of the notification.- Returns:
this
-
tags
Sets the value ofCfnNotificationMixinProps.getTags()- Parameters:
tags- One or more tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationMixinProps>- Returns:
- a new instance of
CfnNotificationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-