Class CfnContactFlowProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnContactFlowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactFlowProps>
- Enclosing interface:
CfnContactFlowProps
@Stability(Stable)
public static final class CfnContactFlowProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactFlowProps>
A builder for
CfnContactFlowProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnContactFlowProps.getContent()
description
(String description) Sets the value ofCfnContactFlowProps.getDescription()
instanceArn
(String instanceArn) Sets the value ofCfnContactFlowProps.getInstanceArn()
Sets the value ofCfnContactFlowProps.getName()
Sets the value ofCfnContactFlowProps.getState()
Sets the value ofCfnContactFlowProps.getTags()
Sets the value ofCfnContactFlowProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnContactFlowProps.getContent()
- Parameters:
content
- The content of the flow. This parameter is required. For more information, see Amazon Connect Flow language in the Amazon Connect Administrator Guide .- Returns:
this
-
instanceArn
Sets the value ofCfnContactFlowProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the Amazon Connect instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnContactFlowProps.getName()
- Parameters:
name
- The name of the flow. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnContactFlowProps.getType()
- Parameters:
type
- The type of the flow. This parameter is required. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide .- Returns:
this
-
description
Sets the value ofCfnContactFlowProps.getDescription()
- Parameters:
description
- The description of the flow.- Returns:
this
-
state
Sets the value ofCfnContactFlowProps.getState()
- Parameters:
state
- The state of the flow.- Returns:
this
-
tags
Sets the value ofCfnContactFlowProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContactFlowProps>
- Returns:
- a new instance of
CfnContactFlowProps
- Throws:
NullPointerException
- if any required attribute was not provided
-