Interface UserData.Builder

    • Method Detail

      • user

        UserData.Builder user​(UserReference user)

        Information about the user for the data that is returned. It contains the resourceId and ARN of the user.

        Parameters:
        user - Information about the user for the data that is returned. It contains the resourceId and ARN of the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routingProfile

        UserData.Builder routingProfile​(RoutingProfileReference routingProfile)

        Information about the routing profile that is assigned to the user.

        Parameters:
        routingProfile - Information about the routing profile that is assigned to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hierarchyPath

        UserData.Builder hierarchyPath​(HierarchyPathReference hierarchyPath)

        Contains information about the levels of a hierarchy group assigned to a user.

        Parameters:
        hierarchyPath - Contains information about the levels of a hierarchy group assigned to a user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availableSlotsByChannelWithStrings

        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.

        Parameters:
        availableSlotsByChannel - A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availableSlotsByChannel

        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.

        Parameters:
        availableSlotsByChannel - A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSlotsByChannelWithStrings

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSlotsByChannel

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • activeSlotsByChannelWithStrings

        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.

        Parameters:
        activeSlotsByChannel - A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • activeSlotsByChannel

        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.

        Parameters:
        activeSlotsByChannel - A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        UserData.Builder contacts​(Collection<AgentContactReference> contacts)

        A list of contact reference information.

        Parameters:
        contacts - A list of contact reference information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        UserData.Builder contacts​(AgentContactReference... contacts)

        A list of contact reference information.

        Parameters:
        contacts - A list of contact reference information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextStatus

        UserData.Builder nextStatus​(String nextStatus)

        The Next status of the agent.

        Parameters:
        nextStatus - The Next status of the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.