Class CfnContactFlowModuleAliasProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnContactFlowModuleAliasProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactFlowModuleAliasProps>
- Enclosing interface:
CfnContactFlowModuleAliasProps
@Stability(Stable)
public static final class CfnContactFlowModuleAliasProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactFlowModuleAliasProps>
A builder for
CfnContactFlowModuleAliasProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactFlowModuleId(String contactFlowModuleId) Sets the value ofCfnContactFlowModuleAliasProps.getContactFlowModuleId()contactFlowModuleVersion(Number contactFlowModuleVersion) Sets the value ofCfnContactFlowModuleAliasProps.getContactFlowModuleVersion()description(String description) Sets the value ofCfnContactFlowModuleAliasProps.getDescription()Sets the value ofCfnContactFlowModuleAliasProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactFlowModuleId
@Stability(Stable) public CfnContactFlowModuleAliasProps.Builder contactFlowModuleId(String contactFlowModuleId) Sets the value ofCfnContactFlowModuleAliasProps.getContactFlowModuleId()- Parameters:
contactFlowModuleId- The identifier of the contact flow module (ARN) this alias is tied to. This parameter is required.- Returns:
this
-
contactFlowModuleVersion
@Stability(Stable) public CfnContactFlowModuleAliasProps.Builder contactFlowModuleVersion(Number contactFlowModuleVersion) Sets the value ofCfnContactFlowModuleAliasProps.getContactFlowModuleVersion()- Parameters:
contactFlowModuleVersion- The version number of the contact flow module this alias points to. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnContactFlowModuleAliasProps.getName()- Parameters:
name- The name of the alias. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnContactFlowModuleAliasProps.getDescription()- Parameters:
description- The description of the alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContactFlowModuleAliasProps>- Returns:
- a new instance of
CfnContactFlowModuleAliasProps - Throws:
NullPointerException- if any required attribute was not provided
-