Class CfnRoutingProfile.MediaConcurrencyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRoutingProfile.MediaConcurrencyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingProfile.MediaConcurrencyProperty>
- Enclosing interface:
CfnRoutingProfile.MediaConcurrencyProperty
@Stability(Stable)
public static final class CfnRoutingProfile.MediaConcurrencyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingProfile.MediaConcurrencyProperty>
A builder for
CfnRoutingProfile.MediaConcurrencyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getChannel()
concurrency
(Number concurrency) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getConcurrency()
crossChannelBehavior
(IResolvable crossChannelBehavior) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getCrossChannelBehavior()
crossChannelBehavior
(CfnRoutingProfile.CrossChannelBehaviorProperty crossChannelBehavior) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getCrossChannelBehavior()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channel
@Stability(Stable) public CfnRoutingProfile.MediaConcurrencyProperty.Builder channel(String channel) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getChannel()
- Parameters:
channel
- The channels that agents can handle in the Contact Control Panel (CCP). This parameter is required.- Returns:
this
-
concurrency
@Stability(Stable) public CfnRoutingProfile.MediaConcurrencyProperty.Builder concurrency(Number concurrency) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getConcurrency()
- Parameters:
concurrency
- The number of contacts an agent can have on a channel simultaneously. This parameter is required. Valid Range forVOICE
: Minimum value of 1. Maximum value of 1.Valid Range for
CHAT
: Minimum value of 1. Maximum value of 10.Valid Range for
TASK
: Minimum value of 1. Maximum value of 10.- Returns:
this
-
crossChannelBehavior
@Stability(Stable) public CfnRoutingProfile.MediaConcurrencyProperty.Builder crossChannelBehavior(IResolvable crossChannelBehavior) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getCrossChannelBehavior()
- Parameters:
crossChannelBehavior
- Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.- Returns:
this
-
crossChannelBehavior
@Stability(Stable) public CfnRoutingProfile.MediaConcurrencyProperty.Builder crossChannelBehavior(CfnRoutingProfile.CrossChannelBehaviorProperty crossChannelBehavior) Sets the value ofCfnRoutingProfile.MediaConcurrencyProperty.getCrossChannelBehavior()
- Parameters:
crossChannelBehavior
- Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoutingProfile.MediaConcurrencyProperty>
- Returns:
- a new instance of
CfnRoutingProfile.MediaConcurrencyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-