Interface AgentInfo.Builder

    • Method Detail

      • id

        AgentInfo.Builder id​(String id)

        The identifier of the agent who accepted the contact.

        Parameters:
        id - The identifier of the agent who accepted the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectedToAgentTimestamp

        AgentInfo.Builder connectedToAgentTimestamp​(Instant connectedToAgentTimestamp)

        The timestamp when the contact was connected to the agent.

        Parameters:
        connectedToAgentTimestamp - The timestamp when the contact was connected to the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentPauseDurationInSeconds

        AgentInfo.Builder agentPauseDurationInSeconds​(Integer agentPauseDurationInSeconds)

        Agent pause duration for a contact in seconds.

        Parameters:
        agentPauseDurationInSeconds - Agent pause duration for a contact in seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.