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