public class MediaConcurrency
extends java.lang.Object
implements java.io.Serializable
Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
| Constructor and Description |
|---|
MediaConcurrency() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannel()
The channels that agents can handle in the Contact Control Panel (CCP).
|
java.lang.Integer |
getConcurrency()
The number of contacts an agent can have on a channel simultaneously.
|
int |
hashCode() |
void |
setChannel(Channel channel)
The channels that agents can handle in the Contact Control Panel (CCP).
|
void |
setChannel(java.lang.String channel)
The channels that agents can handle in the Contact Control Panel (CCP).
|
void |
setConcurrency(java.lang.Integer concurrency)
The number of contacts an agent can have on a channel simultaneously.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MediaConcurrency |
withChannel(Channel channel)
The channels that agents can handle in the Contact Control Panel (CCP).
|
MediaConcurrency |
withChannel(java.lang.String channel)
The channels that agents can handle in the Contact Control Panel (CCP).
|
MediaConcurrency |
withConcurrency(java.lang.Integer concurrency)
The number of contacts an agent can have on a channel simultaneously.
|
public java.lang.String getChannel()
The channels that agents can handle in the Contact Control Panel (CCP).
Constraints:
Allowed Values: VOICE, CHAT, TASK
The channels that agents can handle in the Contact Control Panel (CCP).
Channelpublic void setChannel(java.lang.String channel)
The channels that agents can handle in the Contact Control Panel (CCP).
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channels that agents can handle in the Contact Control Panel (CCP).
Channelpublic MediaConcurrency withChannel(java.lang.String channel)
The channels that agents can handle in the Contact Control Panel (CCP).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channels that agents can handle in the Contact Control Panel (CCP).
Channelpublic void setChannel(Channel channel)
The channels that agents can handle in the Contact Control Panel (CCP).
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channels that agents can handle in the Contact Control Panel (CCP).
Channelpublic MediaConcurrency withChannel(Channel channel)
The channels that agents can handle in the Contact Control Panel (CCP).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channels that agents can handle in the Contact Control Panel (CCP).
Channelpublic java.lang.Integer getConcurrency()
The number of contacts an agent can have on a channel simultaneously.
Constraints:
Range: 1 - 5
The number of contacts an agent can have on a channel simultaneously.
public void setConcurrency(java.lang.Integer concurrency)
The number of contacts an agent can have on a channel simultaneously.
Constraints:
Range: 1 - 5
concurrency - The number of contacts an agent can have on a channel simultaneously.
public MediaConcurrency withConcurrency(java.lang.Integer concurrency)
The number of contacts an agent can have on a channel simultaneously.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 5
concurrency - The number of contacts an agent can have on a channel simultaneously.
public 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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.