public static interface UserData.Builder extends SdkPojo, CopyableBuilder<UserData.Builder,UserData>
| Modifier and Type | Method and Description |
|---|---|
UserData.Builder |
activeSlotsByChannel(Map<Channel,Integer> activeSlotsByChannel)
A map of active slots by channel.
|
UserData.Builder |
activeSlotsByChannelWithStrings(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel.
|
UserData.Builder |
availableSlotsByChannel(Map<Channel,Integer> availableSlotsByChannel)
A map of available slots by channel.
|
UserData.Builder |
availableSlotsByChannelWithStrings(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel.
|
UserData.Builder |
contacts(AgentContactReference... contacts)
A list of contact reference information.
|
UserData.Builder |
contacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
|
UserData.Builder |
contacts(Consumer<AgentContactReference.Builder>... contacts)
A list of contact reference information.
|
default UserData.Builder |
hierarchyPath(Consumer<HierarchyPathReference.Builder> hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
|
UserData.Builder |
hierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
|
UserData.Builder |
maxSlotsByChannel(Map<Channel,Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
UserData.Builder |
maxSlotsByChannelWithStrings(Map<String,Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
UserData.Builder |
nextStatus(String nextStatus)
The Next status of the agent.
|
default UserData.Builder |
routingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)
Information about the routing profile that is assigned to the user.
|
UserData.Builder |
routingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
|
UserData.Builder |
status(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.
|
default UserData.Builder |
status(Consumer<AgentStatusReference.Builder> 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.
|
default UserData.Builder |
user(Consumer<UserReference.Builder> user)
Information about the user for the data that is returned.
|
UserData.Builder |
user(UserReference user)
Information about the user for the data that is returned.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserData.Builder user(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.default UserData.Builder user(Consumer<UserReference.Builder> user)
Information about the user for the data that is returned. It contains the resourceId and ARN of
the user.
UserReference.Builder avoiding the need
to create one manually via UserReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to user(UserReference).
user - a consumer that will call methods on UserReference.Builderuser(UserReference)UserData.Builder routingProfile(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.default UserData.Builder routingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)
Information about the routing profile that is assigned to the user.
This is a convenience method that creates an instance of theRoutingProfileReference.Builder avoiding
the need to create one manually via RoutingProfileReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to routingProfile(RoutingProfileReference).
routingProfile - a consumer that will call methods on RoutingProfileReference.BuilderroutingProfile(RoutingProfileReference)UserData.Builder hierarchyPath(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.default UserData.Builder hierarchyPath(Consumer<HierarchyPathReference.Builder> hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
This is a convenience method that creates an instance of theHierarchyPathReference.Builder avoiding
the need to create one manually via HierarchyPathReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to hierarchyPath(HierarchyPathReference).
hierarchyPath - a consumer that will call methods on HierarchyPathReference.BuilderhierarchyPath(HierarchyPathReference)UserData.Builder status(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.default UserData.Builder status(Consumer<AgentStatusReference.Builder> 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.
This is a convenience method that creates an instance of theAgentStatusReference.Builder avoiding
the need to create one manually via AgentStatusReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to status(AgentStatusReference).
status - a consumer that will call methods on AgentStatusReference.Builderstatus(AgentStatusReference)UserData.Builder availableSlotsByChannelWithStrings(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.UserData.Builder availableSlotsByChannel(Map<Channel,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.UserData.Builder maxSlotsByChannelWithStrings(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.UserData.Builder maxSlotsByChannel(Map<Channel,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.UserData.Builder activeSlotsByChannelWithStrings(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.UserData.Builder activeSlotsByChannel(Map<Channel,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.UserData.Builder contacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
contacts - A list of contact reference information.UserData.Builder contacts(AgentContactReference... contacts)
A list of contact reference information.
contacts - A list of contact reference information.UserData.Builder contacts(Consumer<AgentContactReference.Builder>... contacts)
A list of contact reference information.
This is a convenience method that creates an instance of theAgentContactReference.Builder avoiding the need to
create one manually via AgentContactReference.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #contacts(List.
contacts - a consumer that will call methods on
AgentContactReference.Builder#contacts(java.util.Collection) UserData.Builder nextStatus(String nextStatus)
The Next status of the agent.
nextStatus - The Next status of the agent.Copyright © 2023. All rights reserved.