Interface AgentInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AgentInfo.Builder,AgentInfo>, SdkBuilder<AgentInfo.Builder,AgentInfo>, SdkPojo
Enclosing class:
AgentInfo

public static interface AgentInfo.Builder extends SdkPojo, CopyableBuilder<AgentInfo.Builder,AgentInfo>
  • Method Details

    • 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.