@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserData extends Object implements Serializable, Cloneable, StructuredPojo
Data for a user.
Constructor and Description |
---|
UserData() |
Modifier and Type | Method and Description |
---|---|
UserData |
addActiveSlotsByChannelEntry(String key,
Integer value)
Add a single ActiveSlotsByChannel entry
|
UserData |
addAvailableSlotsByChannelEntry(String key,
Integer value)
Add a single AvailableSlotsByChannel entry
|
UserData |
addMaxSlotsByChannelEntry(String key,
Integer value)
Add a single MaxSlotsByChannel entry
|
UserData |
clearActiveSlotsByChannelEntries()
Removes all the entries added into ActiveSlotsByChannel.
|
UserData |
clearAvailableSlotsByChannelEntries()
Removes all the entries added into AvailableSlotsByChannel.
|
UserData |
clearMaxSlotsByChannelEntries()
Removes all the entries added into MaxSlotsByChannel.
|
UserData |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getActiveSlotsByChannel()
A map of active slots by channel.
|
Map<String,Integer> |
getAvailableSlotsByChannel()
A map of available slots by channel.
|
List<AgentContactReference> |
getContacts()
A list of contact reference information.
|
HierarchyPathReference |
getHierarchyPath()
Contains information about the levels of a hierarchy group assigned to a user.
|
Map<String,Integer> |
getMaxSlotsByChannel()
A map of maximum slots by channel.
|
String |
getNextStatus()
The Next status of the agent.
|
RoutingProfileReference |
getRoutingProfile()
Information about the routing profile that is assigned to the user.
|
AgentStatusReference |
getStatus()
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor
manually changes in the real-time metrics report.
|
UserReference |
getUser()
Information about the user for the data that is returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveSlotsByChannel(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel.
|
void |
setAvailableSlotsByChannel(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel.
|
void |
setContacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
|
void |
setHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
|
void |
setMaxSlotsByChannel(Map<String,Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
void |
setNextStatus(String nextStatus)
The Next status of the agent.
|
void |
setRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
|
void |
setStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor
manually changes in the real-time metrics report.
|
void |
setUser(UserReference user)
Information about the user for the data that is returned.
|
String |
toString()
Returns a string representation of this object.
|
UserData |
withActiveSlotsByChannel(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel.
|
UserData |
withAvailableSlotsByChannel(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel.
|
UserData |
withContacts(AgentContactReference... contacts)
A list of contact reference information.
|
UserData |
withContacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
|
UserData |
withHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
|
UserData |
withMaxSlotsByChannel(Map<String,Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
UserData |
withNextStatus(String nextStatus)
The Next status of the agent.
|
UserData |
withRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
|
UserData |
withStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor
manually changes in the real-time metrics report.
|
UserData |
withUser(UserReference user)
Information about the user for the data that is returned.
|
public void setUser(UserReference user)
Information about the user for the data that is returned. It contains the resourceId
and ARN of the
user.
user
- Information about the user for the data that is returned. It contains the resourceId
and ARN
of the user.public UserReference getUser()
Information about the user for the data that is returned. It contains the resourceId
and ARN of the
user.
resourceId
and ARN
of the user.public UserData withUser(UserReference user)
Information about the user for the data that is returned. It contains the resourceId
and ARN of the
user.
user
- Information about the user for the data that is returned. It contains the resourceId
and ARN
of the user.public void setRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
routingProfile
- Information about the routing profile that is assigned to the user.public RoutingProfileReference getRoutingProfile()
Information about the routing profile that is assigned to the user.
public UserData withRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
routingProfile
- Information about the routing profile that is assigned to the user.public void setHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
hierarchyPath
- Contains information about the levels of a hierarchy group assigned to a user.public HierarchyPathReference getHierarchyPath()
Contains information about the levels of a hierarchy group assigned to a user.
public UserData withHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
hierarchyPath
- Contains information about the levels of a hierarchy group assigned to a user.public void setStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
status
- The status of the agent that they manually set in their Contact Control Panel (CCP), or that the
supervisor manually changes in the real-time metrics report.public AgentStatusReference getStatus()
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
public UserData withStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
status
- The status of the agent that they manually set in their Contact Control Panel (CCP), or that the
supervisor manually changes in the real-time metrics report.public Map<String,Integer> getAvailableSlotsByChannel()
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
public void setAvailableSlotsByChannel(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
availableSlotsByChannel
- A map of available slots by channel. The key is a channel name. The value is an integer: the available
number of slots.public UserData withAvailableSlotsByChannel(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
availableSlotsByChannel
- A map of available slots by channel. The key is a channel name. The value is an integer: the available
number of slots.public UserData addAvailableSlotsByChannelEntry(String key, Integer value)
public UserData clearAvailableSlotsByChannelEntries()
public Map<String,Integer> getMaxSlotsByChannel()
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of
slots. This is calculated from MediaConcurrency of
the RoutingProfile
assigned to the agent.
RoutingProfile
assigned to the agent.public void setMaxSlotsByChannel(Map<String,Integer> maxSlotsByChannel)
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of
slots. This is calculated from MediaConcurrency of
the RoutingProfile
assigned to the agent.
maxSlotsByChannel
- A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number
of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.public UserData withMaxSlotsByChannel(Map<String,Integer> maxSlotsByChannel)
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of
slots. This is calculated from MediaConcurrency of
the RoutingProfile
assigned to the agent.
maxSlotsByChannel
- A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number
of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.public UserData addMaxSlotsByChannelEntry(String key, Integer value)
public UserData clearMaxSlotsByChannelEntries()
public Map<String,Integer> getActiveSlotsByChannel()
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
public void setActiveSlotsByChannel(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
activeSlotsByChannel
- A map of active slots by channel. The key is a channel name. The value is an integer: the number of active
slots.public UserData withActiveSlotsByChannel(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
activeSlotsByChannel
- A map of active slots by channel. The key is a channel name. The value is an integer: the number of active
slots.public UserData addActiveSlotsByChannelEntry(String key, Integer value)
public UserData clearActiveSlotsByChannelEntries()
public List<AgentContactReference> getContacts()
A list of contact reference information.
public void setContacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
contacts
- A list of contact reference information.public UserData withContacts(AgentContactReference... contacts)
A list of contact reference information.
NOTE: This method appends the values to the existing list (if any). Use
setContacts(java.util.Collection)
or withContacts(java.util.Collection)
if you want to override
the existing values.
contacts
- A list of contact reference information.public UserData withContacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
contacts
- A list of contact reference information.public void setNextStatus(String nextStatus)
The Next status of the agent.
nextStatus
- The Next status of the agent.public String getNextStatus()
The Next status of the agent.
public UserData withNextStatus(String nextStatus)
The Next status of the agent.
nextStatus
- The Next status of the agent.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.