Class CfnRulePropsMixin.TaskActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRulePropsMixin.TaskActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.TaskActionProperty>
- Enclosing interface:
CfnRulePropsMixin.TaskActionProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.TaskActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.TaskActionProperty>
A builder for
CfnRulePropsMixin.TaskActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactFlowArn(String contactFlowArn) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getContactFlowArn()description(String description) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getDescription()Sets the value ofCfnRulePropsMixin.TaskActionProperty.getName()references(Map<String, ? extends Object> references) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getReferences()references(IResolvable references) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getReferences()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactFlowArn
@Stability(Stable) public CfnRulePropsMixin.TaskActionProperty.Builder contactFlowArn(String contactFlowArn) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getContactFlowArn()- Parameters:
contactFlowArn- The Amazon Resource Name (ARN) of the flow.- Returns:
this
-
description
@Stability(Stable) public CfnRulePropsMixin.TaskActionProperty.Builder description(String description) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getDescription()- Parameters:
description- The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .- Returns:
this
-
name
Sets the value ofCfnRulePropsMixin.TaskActionProperty.getName()- Parameters:
name- The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .- Returns:
this
-
references
@Stability(Stable) public CfnRulePropsMixin.TaskActionProperty.Builder references(IResolvable references) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getReferences()- Parameters:
references- Information about the reference when thereferenceTypeisURL. Otherwise, null.URLis the only accepted type. (Supports variable injection in theValuefield.)- Returns:
this
-
references
@Stability(Stable) public CfnRulePropsMixin.TaskActionProperty.Builder references(Map<String, ? extends Object> references) Sets the value ofCfnRulePropsMixin.TaskActionProperty.getReferences()- Parameters:
references- Information about the reference when thereferenceTypeisURL. Otherwise, null.URLis the only accepted type. (Supports variable injection in theValuefield.)- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.TaskActionProperty>- Returns:
- a new instance of
CfnRulePropsMixin.TaskActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-