public class CreateRoutingProfileRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates a new routing profile.
| Constructor and Description |
|---|
CreateRoutingProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRoutingProfileRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateRoutingProfileRequest |
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 longest idle time or time since their last
inbound contact.
|
java.lang.String |
getDefaultOutboundQueueId()
The default outbound queue for the routing profile.
|
java.lang.String |
getDescription()
Description of the routing profile.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.List<MediaConcurrency> |
getMediaConcurrencies()
The channels that agents can handle in the Contact Control Panel (CCP)
for this routing profile.
|
java.lang.String |
getName()
The name of the routing profile.
|
java.util.List<RoutingProfileQueueConfig> |
getQueueConfigs()
The inbound queues associated with 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 longest idle time or time since their last
inbound contact.
|
void |
setAgentAvailabilityTimer(java.lang.String agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order
calculated based on longest idle time or time since their last
inbound contact.
|
void |
setDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The default outbound queue for the routing profile.
|
void |
setDescription(java.lang.String description)
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 that 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 |
setQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with 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.
|
CreateRoutingProfileRequest |
withAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order
calculated based on longest idle time or time since their last
inbound contact.
|
CreateRoutingProfileRequest |
withAgentAvailabilityTimer(java.lang.String agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order
calculated based on longest idle time or time since their last
inbound contact.
|
CreateRoutingProfileRequest |
withDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The default outbound queue for the routing profile.
|
CreateRoutingProfileRequest |
withDescription(java.lang.String description)
Description of the routing profile.
|
CreateRoutingProfileRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateRoutingProfileRequest |
withMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels that agents can handle in the Contact Control Panel (CCP)
for this routing profile.
|
CreateRoutingProfileRequest |
withMediaConcurrencies(MediaConcurrency... mediaConcurrencies)
The channels that agents can handle in the Contact Control Panel (CCP)
for this routing profile.
|
CreateRoutingProfileRequest |
withName(java.lang.String name)
The name of the routing profile.
|
CreateRoutingProfileRequest |
withQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with the routing profile.
|
CreateRoutingProfileRequest |
withQueueConfigs(RoutingProfileQueueConfig... queueConfigs)
The inbound queues associated with the routing profile.
|
CreateRoutingProfileRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 CreateRoutingProfileRequest 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. Must not be more than 127 characters.
Constraints:
Length: 1 - 127
The name of the routing profile. Must not be more than 127 characters.
public void setName(java.lang.String name)
The name of the routing profile. Must not be more than 127 characters.
Constraints:
Length: 1 - 127
name - The name of the routing profile. Must not be more than 127 characters.
public CreateRoutingProfileRequest withName(java.lang.String name)
The name of the routing profile. Must not be more than 127 characters.
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. Must not be more than 127 characters.
public java.lang.String getDescription()
Description of the routing profile. Must not be more than 250 characters.
Constraints:
Length: 1 - 250
Description of the routing profile. Must not be more than 250 characters.
public void setDescription(java.lang.String description)
Description of the routing profile. Must not be more than 250 characters.
Constraints:
Length: 1 - 250
description - Description of the routing profile. Must not be more than 250 characters.
public CreateRoutingProfileRequest withDescription(java.lang.String description)
Description of the routing profile. Must not be more than 250 characters.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - Description of the routing profile. Must not be more than 250 characters.
public java.lang.String getDefaultOutboundQueueId()
The default outbound queue for the routing profile.
The default outbound queue for the routing profile.
public void setDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The default outbound queue for the routing profile.
defaultOutboundQueueId - The default outbound queue for the routing profile.
public CreateRoutingProfileRequest withDefaultOutboundQueueId(java.lang.String defaultOutboundQueueId)
The default outbound queue for the routing profile.
Returns a reference to this object so that method calls can be chained together.
defaultOutboundQueueId - The default outbound queue for the routing profile.
public java.util.List<RoutingProfileQueueConfig> getQueueConfigs()
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be passed during
a CreateRoutingProfile API request. It is different from the quota of 50
queues per routing profile per instance that is listed in Amazon Connect service quotas.
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be passed
during a CreateRoutingProfile API request. It is different from
the quota of 50 queues per routing profile per instance that is
listed in Amazon Connect service quotas.
public void setQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be passed during
a CreateRoutingProfile API request. It is different from the quota of 50
queues per routing profile per instance that is listed in Amazon Connect service quotas.
queueConfigs - The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be
passed during a CreateRoutingProfile API request. It is
different from the quota of 50 queues per routing profile per
instance that is listed in Amazon Connect service quotas.
public CreateRoutingProfileRequest withQueueConfigs(RoutingProfileQueueConfig... queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be passed during
a CreateRoutingProfile API request. It is different from the quota of 50
queues per routing profile per instance that is listed in Amazon Connect service quotas.
Returns a reference to this object so that method calls can be chained together.
queueConfigs - The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be
passed during a CreateRoutingProfile API request. It is
different from the quota of 50 queues per routing profile per
instance that is listed in Amazon Connect service quotas.
public CreateRoutingProfileRequest withQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be passed during
a CreateRoutingProfile API request. It is different from the quota of 50
queues per routing profile per instance that is listed in Amazon Connect service quotas.
Returns a reference to this object so that method calls can be chained together.
queueConfigs - The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig objects that can be
passed during a CreateRoutingProfile API request. It is
different from the quota of 50 queues per routing profile per
instance that is listed in Amazon Connect service quotas.
public java.util.List<MediaConcurrency> getMediaConcurrencies()
The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
public void setMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
mediaConcurrencies - The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
public CreateRoutingProfileRequest withMediaConcurrencies(MediaConcurrency... mediaConcurrencies)
The channels that 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 that agents can handle in the Contact Control Panel (CCP) for this routing profile.
public CreateRoutingProfileRequest withMediaConcurrencies(java.util.Collection<MediaConcurrency> mediaConcurrencies)
The channels that 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 that agents can handle in the Contact Control Panel (CCP) 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 CreateRoutingProfileRequest 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 CreateRoutingProfileRequest 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 CreateRoutingProfileRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getAgentAvailabilityTimer()
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
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 longest idle time or time since their last inbound contact.
AgentAvailabilityTimerpublic void setAgentAvailabilityTimer(java.lang.String agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
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 longest idle time or time since their last inbound contact.
AgentAvailabilityTimerpublic CreateRoutingProfileRequest withAgentAvailabilityTimer(java.lang.String agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
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 longest idle time or time since their last inbound contact.
AgentAvailabilityTimerpublic void setAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
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 longest idle time or time since their last inbound contact.
AgentAvailabilityTimerpublic CreateRoutingProfileRequest withAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer)
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
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 longest idle time or time since their last inbound contact.
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