public class RoutingProfile
extends java.lang.Object
implements java.io.Serializable
Contains information about a routing profile.
| Constructor and Description |
|---|
RoutingProfile() |
| Modifier and Type | Method and Description |
|---|---|
RoutingProfile |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
RoutingProfile |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentAvailabilityTimer()
Whether agents with this routing profile will have their routing order
calculated based on time since their last inbound contact or
longest idle time.
|
java.lang.String |
getDefaultOutboundQueueId()
The identifier of the default outbound queue for this routing profile.
|
java.lang.String |
getDescription()
The description of the routing profile.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.List<MediaConcurrency> |
getMediaConcurrencies()
The channels agents can handle in the Contact Control Panel (CCP) for
this routing profile.
|
java.lang.String |
getName()
The name of the routing profile.
|
java.lang.Long |
getNumberOfAssociatedQueues()
The number of associated queues in routing profile.
|
java.lang.Long |
getNumberOfAssociatedUsers()
The number of associated users in routing profile.
|
java.lang.String |
getRoutingProfileArn()
The Amazon Resource Name (ARN) of the routing profile.
|
java.lang.String |
getRoutingProfileId()
The identifier of the routing profile.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setAgentAvailabilityTimer(AgentAvailabilityTimer 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.
|
void |
setAgentAvailabilityTimer(java.lang.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.
|
void |
setDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The identifier of the default outbound queue for this routing profile.
|
void |
setDescription(java.lang.String description)
The description of the routing profile.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for
this routing profile.
|
void |
setName(java.lang.String name)
The name of the routing profile.
|
void |
setNumberOfAssociatedQueues(java.lang.Long numberOfAssociatedQueues)
The number of associated queues in routing profile.
|
void |
setNumberOfAssociatedUsers(java.lang.Long numberOfAssociatedUsers)
The number of associated users in routing profile.
|
void |
setRoutingProfileArn(java.lang.String routingProfileArn)
The Amazon Resource Name (ARN) of the routing profile.
|
void |
setRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RoutingProfile |
withAgentAvailabilityTimer(AgentAvailabilityTimer 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.
|
RoutingProfile |
withAgentAvailabilityTimer(java.lang.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.
|
RoutingProfile |
withDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The identifier of the default outbound queue for this routing profile.
|
RoutingProfile |
withDescription(java.lang.String description)
The description of the routing profile.
|
RoutingProfile |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
RoutingProfile |
withMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for
this routing profile.
|
RoutingProfile |
withMediaConcurrencies(MediaConcurrency... mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for
this routing profile.
|
RoutingProfile |
withName(java.lang.String name)
The name of the routing profile.
|
RoutingProfile |
withNumberOfAssociatedQueues(java.lang.Long numberOfAssociatedQueues)
The number of associated queues in routing profile.
|
RoutingProfile |
withNumberOfAssociatedUsers(java.lang.Long numberOfAssociatedUsers)
The number of associated users in routing profile.
|
RoutingProfile |
withRoutingProfileArn(java.lang.String routingProfileArn)
The Amazon Resource Name (ARN) of the routing profile.
|
RoutingProfile |
withRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile.
|
RoutingProfile |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public RoutingProfile withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getName()
The name of the routing profile.
Constraints:
Length: 1 - 127
The name of the routing profile.
public void setName(java.lang.String name)
The name of the routing profile.
Constraints:
Length: 1 - 127
name - The name of the routing profile.
public RoutingProfile withName(java.lang.String name)
The name of the routing profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the routing profile.
public java.lang.String getRoutingProfileArn()
The Amazon Resource Name (ARN) of the routing profile.
The Amazon Resource Name (ARN) of the routing profile.
public void setRoutingProfileArn(java.lang.String routingProfileArn)
The Amazon Resource Name (ARN) of the routing profile.
routingProfileArn - The Amazon Resource Name (ARN) of the routing profile.
public RoutingProfile withRoutingProfileArn(java.lang.String routingProfileArn)
The Amazon Resource Name (ARN) of the routing profile.
Returns a reference to this object so that method calls can be chained together.
routingProfileArn - The Amazon Resource Name (ARN) of the routing profile.
public java.lang.String getRoutingProfileId()
The identifier of the routing profile.
The identifier of the routing profile.
public void setRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile.
routingProfileId - The identifier of the routing profile.
public RoutingProfile withRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile.
Returns a reference to this object so that method calls can be chained together.
routingProfileId - The identifier of the routing profile.
public java.lang.String getDescription()
The description of the routing profile.
Constraints:
Length: 1 - 250
The description of the routing profile.
public void setDescription(java.lang.String description)
The description of the routing profile.
Constraints:
Length: 1 - 250
description - The description of the routing profile.
public RoutingProfile withDescription(java.lang.String description)
The description of the routing profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - The description of the routing profile.
public java.util.List<MediaConcurrency> getMediaConcurrencies()
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
public void setMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
mediaConcurrencies - The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
public RoutingProfile withMediaConcurrencies(MediaConcurrency... mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
Returns a reference to this object so that method calls can be chained together.
mediaConcurrencies - The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
public RoutingProfile withMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
Returns a reference to this object so that method calls can be chained together.
mediaConcurrencies - The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
public java.lang.String getDefaultOutboundQueueId()
The identifier of the default outbound queue for this routing profile.
The identifier of the default outbound queue for this routing profile.
public void setDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The identifier of the default outbound queue for this routing profile.
defaultOutboundQueueId - The identifier of the default outbound queue for this routing profile.
public RoutingProfile withDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The identifier of the default outbound queue for this routing profile.
Returns a reference to this object so that method calls can be chained together.
defaultOutboundQueueId - The identifier of the default outbound queue for this routing profile.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public RoutingProfile withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public RoutingProfile addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public RoutingProfile clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.Long getNumberOfAssociatedQueues()
The number of associated queues in routing profile.
The number of associated queues in routing profile.
public void setNumberOfAssociatedQueues(java.lang.Long numberOfAssociatedQueues)
The number of associated queues in routing profile.
numberOfAssociatedQueues - The number of associated queues in routing profile.
public RoutingProfile withNumberOfAssociatedQueues(java.lang.Long numberOfAssociatedQueues)
The number of associated queues in routing profile.
Returns a reference to this object so that method calls can be chained together.
numberOfAssociatedQueues - The number of associated queues in routing profile.
public java.lang.Long getNumberOfAssociatedUsers()
The number of associated users in routing profile.
The number of associated users in routing profile.
public void setNumberOfAssociatedUsers(java.lang.Long numberOfAssociatedUsers)
The number of associated users in routing profile.
numberOfAssociatedUsers - The number of associated users in routing profile.
public RoutingProfile withNumberOfAssociatedUsers(java.lang.Long numberOfAssociatedUsers)
The number of associated users in routing profile.
Returns a reference to this object so that method calls can be chained together.
numberOfAssociatedUsers - The number of associated users in routing profile.
public java.lang.String getAgentAvailabilityTimer()
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
Constraints:
Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
AgentAvailabilityTimerpublic void setAgentAvailabilityTimer(java.lang.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.
Constraints:
Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
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.
AgentAvailabilityTimerpublic RoutingProfile withAgentAvailabilityTimer(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
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.
AgentAvailabilityTimerpublic void setAgentAvailabilityTimer(AgentAvailabilityTimer 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.
Constraints:
Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
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.
AgentAvailabilityTimerpublic RoutingProfile withAgentAvailabilityTimer(AgentAvailabilityTimer 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 a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
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.
AgentAvailabilityTimerpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object