Class CfnRulePropsMixin.SendNotificationActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRulePropsMixin.SendNotificationActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.SendNotificationActionProperty>
- Enclosing interface:
CfnRulePropsMixin.SendNotificationActionProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.SendNotificationActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.SendNotificationActionProperty>
A builder for
CfnRulePropsMixin.SendNotificationActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getContent()contentType(String contentType) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getContentType()deliveryMethod(String deliveryMethod) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getDeliveryMethod()Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getRecipient()recipient(IResolvable recipient) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getRecipient()Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getSubject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder content(String content) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getContent()- Parameters:
content- Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .- Returns:
this
-
contentType
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder contentType(String contentType) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getContentType()- Parameters:
contentType- Content type format. Allowed value :PLAIN_TEXT- Returns:
this
-
deliveryMethod
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder deliveryMethod(String deliveryMethod) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getDeliveryMethod()- Parameters:
deliveryMethod- Notification delivery method. Allowed value :EMAIL- Returns:
this
-
recipient
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder recipient(IResolvable recipient) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getRecipient()- Parameters:
recipient- Notification recipient.- Returns:
this
-
recipient
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder recipient(CfnRulePropsMixin.NotificationRecipientTypeProperty recipient) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getRecipient()- Parameters:
recipient- Notification recipient.- Returns:
this
-
subject
@Stability(Stable) public CfnRulePropsMixin.SendNotificationActionProperty.Builder subject(String subject) Sets the value ofCfnRulePropsMixin.SendNotificationActionProperty.getSubject()- Parameters:
subject- The subject of the email if the delivery method isEMAIL. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.SendNotificationActionProperty>- Returns:
- a new instance of
CfnRulePropsMixin.SendNotificationActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-