Class CfnRule.ActionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.ActionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.ActionsProperty>
- Enclosing interface:
CfnRule.ActionsProperty
@Stability(Stable)
public static final class CfnRule.ActionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.ActionsProperty>
A builder for
CfnRule.ActionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignContactCategoryActions
(List<? extends Object> assignContactCategoryActions) Sets the value ofCfnRule.ActionsProperty.getAssignContactCategoryActions()
assignContactCategoryActions
(IResolvable assignContactCategoryActions) Sets the value ofCfnRule.ActionsProperty.getAssignContactCategoryActions()
build()
Builds the configured instance.eventBridgeActions
(List<? extends Object> eventBridgeActions) Sets the value ofCfnRule.ActionsProperty.getEventBridgeActions()
eventBridgeActions
(IResolvable eventBridgeActions) Sets the value ofCfnRule.ActionsProperty.getEventBridgeActions()
sendNotificationActions
(List<? extends Object> sendNotificationActions) Sets the value ofCfnRule.ActionsProperty.getSendNotificationActions()
sendNotificationActions
(IResolvable sendNotificationActions) Sets the value ofCfnRule.ActionsProperty.getSendNotificationActions()
taskActions
(List<? extends Object> taskActions) Sets the value ofCfnRule.ActionsProperty.getTaskActions()
taskActions
(IResolvable taskActions) Sets the value ofCfnRule.ActionsProperty.getTaskActions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assignContactCategoryActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder assignContactCategoryActions(List<? extends Object> assignContactCategoryActions) Sets the value ofCfnRule.ActionsProperty.getAssignContactCategoryActions()
- Parameters:
assignContactCategoryActions
- Information about the contact category action. The syntax can be empty, for example,{}
.- Returns:
this
-
assignContactCategoryActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder assignContactCategoryActions(IResolvable assignContactCategoryActions) Sets the value ofCfnRule.ActionsProperty.getAssignContactCategoryActions()
- Parameters:
assignContactCategoryActions
- Information about the contact category action. The syntax can be empty, for example,{}
.- Returns:
this
-
eventBridgeActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder eventBridgeActions(IResolvable eventBridgeActions) Sets the value ofCfnRule.ActionsProperty.getEventBridgeActions()
- Parameters:
eventBridgeActions
- Information about the EventBridge action.- Returns:
this
-
eventBridgeActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder eventBridgeActions(List<? extends Object> eventBridgeActions) Sets the value ofCfnRule.ActionsProperty.getEventBridgeActions()
- Parameters:
eventBridgeActions
- Information about the EventBridge action.- Returns:
this
-
sendNotificationActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder sendNotificationActions(IResolvable sendNotificationActions) Sets the value ofCfnRule.ActionsProperty.getSendNotificationActions()
- Parameters:
sendNotificationActions
- Information about the send notification action.- Returns:
this
-
sendNotificationActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder sendNotificationActions(List<? extends Object> sendNotificationActions) Sets the value ofCfnRule.ActionsProperty.getSendNotificationActions()
- Parameters:
sendNotificationActions
- Information about the send notification action.- Returns:
this
-
taskActions
Sets the value ofCfnRule.ActionsProperty.getTaskActions()
- Parameters:
taskActions
- Information about the task action. This field is required ifTriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Returns:
this
-
taskActions
@Stability(Stable) public CfnRule.ActionsProperty.Builder taskActions(List<? extends Object> taskActions) Sets the value ofCfnRule.ActionsProperty.getTaskActions()
- Parameters:
taskActions
- Information about the task action. This field is required ifTriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRule.ActionsProperty>
- Returns:
- a new instance of
CfnRule.ActionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-