Class CfnRoutingProfile.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRoutingProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingProfile>
- Enclosing class:
CfnRoutingProfile
@Stability(Stable)
public static final class CfnRoutingProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingProfile>
A fluent builder for
CfnRoutingProfile
.-
Method Summary
Modifier and TypeMethodDescriptionagentAvailabilityTimer
(String agentAvailabilityTimer) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time .build()
static CfnRoutingProfile.Builder
defaultOutboundQueueArn
(String defaultOutboundQueueArn) The Amazon Resource Name (ARN) of the default outbound queue for the routing profile.description
(String description) The description of the routing profile.instanceArn
(String instanceArn) The identifier of the Amazon Connect instance.mediaConcurrencies
(List<? extends Object> mediaConcurrencies) The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.mediaConcurrencies
(IResolvable mediaConcurrencies) The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.The name of the routing profile.queueConfigs
(List<? extends Object> queueConfigs) The inbound queues associated with the routing profile.queueConfigs
(IResolvable queueConfigs) The inbound queues associated with the routing profile.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnRoutingProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnRoutingProfile.Builder
.
-
defaultOutboundQueueArn
@Stability(Stable) public CfnRoutingProfile.Builder defaultOutboundQueueArn(String defaultOutboundQueueArn) The Amazon Resource Name (ARN) of the default outbound queue for the routing profile.- Parameters:
defaultOutboundQueueArn
- The Amazon Resource Name (ARN) of the default outbound queue for the routing profile. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the routing profile.- Parameters:
description
- The description of the routing profile. This parameter is required.- Returns:
this
- See Also:
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn
- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
- See Also:
-
mediaConcurrencies
@Stability(Stable) public CfnRoutingProfile.Builder mediaConcurrencies(IResolvable mediaConcurrencies) The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.- Parameters:
mediaConcurrencies
- The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. This parameter is required.- Returns:
this
- See Also:
-
mediaConcurrencies
@Stability(Stable) public CfnRoutingProfile.Builder mediaConcurrencies(List<? extends Object> mediaConcurrencies) The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.- Parameters:
mediaConcurrencies
- The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the routing profile.- Parameters:
name
- The name of the routing profile. This parameter is required.- Returns:
this
- See Also:
-
agentAvailabilityTimer
@Stability(Stable) public CfnRoutingProfile.Builder agentAvailabilityTimer(String agentAvailabilityTimer) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time .- Parameters:
agentAvailabilityTimer
- Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time . This parameter is required.- Returns:
this
- See Also:
-
queueConfigs
The inbound queues associated with the routing profile.If no queue is added, the agent can make only outbound calls.
- Parameters:
queueConfigs
- The inbound queues associated with the routing profile. This parameter is required.- Returns:
this
- See Also:
-
queueConfigs
@Stability(Stable) public CfnRoutingProfile.Builder queueConfigs(List<? extends Object> queueConfigs) The inbound queues associated with the routing profile.If no queue is added, the agent can make only outbound calls.
- Parameters:
queueConfigs
- The inbound queues associated with the routing profile. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags used to organize, track, or control access for this resource.For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoutingProfile>
- Returns:
- a newly built instance of
CfnRoutingProfile
.
-