Class CfnRoutingProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRoutingProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingProfileProps>
- Enclosing interface:
CfnRoutingProfileProps
@Stability(Stable)
public static final class CfnRoutingProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingProfileProps>
A builder for
CfnRoutingProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentAvailabilityTimer(String agentAvailabilityTimer) Sets the value ofCfnRoutingProfileProps.getAgentAvailabilityTimer()build()Builds the configured instance.defaultOutboundQueueArn(String defaultOutboundQueueArn) Sets the value ofCfnRoutingProfileProps.getDefaultOutboundQueueArn()description(String description) Sets the value ofCfnRoutingProfileProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnRoutingProfileProps.getInstanceArn()manualAssignmentQueueConfigs(List<? extends Object> manualAssignmentQueueConfigs) Sets the value ofCfnRoutingProfileProps.getManualAssignmentQueueConfigs()manualAssignmentQueueConfigs(IResolvable manualAssignmentQueueConfigs) Sets the value ofCfnRoutingProfileProps.getManualAssignmentQueueConfigs()mediaConcurrencies(List<? extends Object> mediaConcurrencies) Sets the value ofCfnRoutingProfileProps.getMediaConcurrencies()mediaConcurrencies(IResolvable mediaConcurrencies) Sets the value ofCfnRoutingProfileProps.getMediaConcurrencies()Sets the value ofCfnRoutingProfileProps.getName()queueConfigs(List<? extends Object> queueConfigs) Sets the value ofCfnRoutingProfileProps.getQueueConfigs()queueConfigs(IResolvable queueConfigs) Sets the value ofCfnRoutingProfileProps.getQueueConfigs()Sets the value ofCfnRoutingProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultOutboundQueueArn
@Stability(Stable) public CfnRoutingProfileProps.Builder defaultOutboundQueueArn(String defaultOutboundQueueArn) Sets the value ofCfnRoutingProfileProps.getDefaultOutboundQueueArn()- Parameters:
defaultOutboundQueueArn- The Amazon Resource Name (ARN) of the default outbound queue for the routing profile. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnRoutingProfileProps.getDescription()- Parameters:
description- The description of the routing profile. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnRoutingProfileProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
mediaConcurrencies
@Stability(Stable) public CfnRoutingProfileProps.Builder mediaConcurrencies(IResolvable mediaConcurrencies) Sets the value ofCfnRoutingProfileProps.getMediaConcurrencies()- Parameters:
mediaConcurrencies- The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. This parameter is required.- Returns:
this
-
mediaConcurrencies
@Stability(Stable) public CfnRoutingProfileProps.Builder mediaConcurrencies(List<? extends Object> mediaConcurrencies) Sets the value ofCfnRoutingProfileProps.getMediaConcurrencies()- Parameters:
mediaConcurrencies- The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnRoutingProfileProps.getName()- Parameters:
name- The name of the routing profile. This parameter is required.- Returns:
this
-
agentAvailabilityTimer
@Stability(Stable) public CfnRoutingProfileProps.Builder agentAvailabilityTimer(String agentAvailabilityTimer) Sets the value ofCfnRoutingProfileProps.getAgentAvailabilityTimer()- 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 .- Returns:
this
-
manualAssignmentQueueConfigs
@Stability(Stable) public CfnRoutingProfileProps.Builder manualAssignmentQueueConfigs(IResolvable manualAssignmentQueueConfigs) Sets the value ofCfnRoutingProfileProps.getManualAssignmentQueueConfigs()- Parameters:
manualAssignmentQueueConfigs- Contains information about the queue and channel for manual assignment behaviour can be enabled.- Returns:
this
-
manualAssignmentQueueConfigs
@Stability(Stable) public CfnRoutingProfileProps.Builder manualAssignmentQueueConfigs(List<? extends Object> manualAssignmentQueueConfigs) Sets the value ofCfnRoutingProfileProps.getManualAssignmentQueueConfigs()- Parameters:
manualAssignmentQueueConfigs- Contains information about the queue and channel for manual assignment behaviour can be enabled.- Returns:
this
-
queueConfigs
Sets the value ofCfnRoutingProfileProps.getQueueConfigs()- Parameters:
queueConfigs- The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.- Returns:
this
-
queueConfigs
@Stability(Stable) public CfnRoutingProfileProps.Builder queueConfigs(List<? extends Object> queueConfigs) Sets the value ofCfnRoutingProfileProps.getQueueConfigs()- Parameters:
queueConfigs- The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.- Returns:
this
-
tags
Sets the value ofCfnRoutingProfileProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingProfileProps>- Returns:
- a new instance of
CfnRoutingProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-