public class CreateRoutingProfileRequest extends 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)
One or more tags.
|
CreateRoutingProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
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 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()
One or more tags.
|
int |
hashCode() |
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 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)
One or more tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 agents can handle in the Contact Control Panel (CCP) for
this routing profile.
|
CreateRoutingProfileRequest |
withMediaConcurrencies(MediaConcurrency... mediaConcurrencies)
The channels 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)
One or more tags.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public CreateRoutingProfileRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect 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.
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 only make outbound calls.
The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.
public void setQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.
queueConfigs
- The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.
public CreateRoutingProfileRequest withQueueConfigs(RoutingProfileQueueConfig... queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.
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 only make outbound calls.
public CreateRoutingProfileRequest withQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs)
The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.
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 only make outbound calls.
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 CreateRoutingProfileRequest 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 CreateRoutingProfileRequest 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.util.Map<java.lang.String,java.lang.String> getTags()
One or more tags.
One or more tags.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
tags
- One or more tags.
public CreateRoutingProfileRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
Returns a reference to this object so that method calls can be chained together.
tags
- One or more tags.
public CreateRoutingProfileRequest addTagsEntry(java.lang.String key, java.lang.String value)
One or more tags.
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 toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.