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).
Channel
public 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).
Channel
public 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).
Channel
public 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).
Channel
public 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).
Channel
public 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.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.