Class CfnContactFlowModuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnContactFlowModuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactFlowModuleProps>
- Enclosing interface:
CfnContactFlowModuleProps
@Stability(Stable)
public static final class CfnContactFlowModuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactFlowModuleProps>
A builder for
CfnContactFlowModuleProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnContactFlowModuleProps.getContent()
description
(String description) Sets the value ofCfnContactFlowModuleProps.getDescription()
instanceArn
(String instanceArn) Sets the value ofCfnContactFlowModuleProps.getInstanceArn()
Sets the value ofCfnContactFlowModuleProps.getName()
Sets the value ofCfnContactFlowModuleProps.getState()
Sets the value ofCfnContactFlowModuleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnContactFlowModuleProps.getContent()
- Parameters:
content
- The content of the flow module. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnContactFlowModuleProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the Amazon Connect instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnContactFlowModuleProps.getName()
- Parameters:
name
- The name of the flow module. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnContactFlowModuleProps.getDescription()
- Parameters:
description
- The description of the flow module.- Returns:
this
-
state
Sets the value ofCfnContactFlowModuleProps.getState()
- Parameters:
state
- The state of the flow module.- Returns:
this
-
tags
Sets the value ofCfnContactFlowModuleProps.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<CfnContactFlowModuleProps>
- Returns:
- a new instance of
CfnContactFlowModuleProps
- Throws:
NullPointerException
- if any required attribute was not provided
-