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