Interface AgentContactReference.Builder

    • Method Detail

      • contactId

        AgentContactReference.Builder contactId​(String contactId)

        The identifier of the contact in this instance of Amazon Connect.

        Parameters:
        contactId - The identifier of the contact in this instance of Amazon Connect.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channel

        AgentContactReference.Builder channel​(String channel)

        The channel of the contact.

        Parameters:
        channel - The channel of the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Channel, Channel
      • channel

        AgentContactReference.Builder channel​(Channel channel)

        The channel of the contact.

        Parameters:
        channel - The channel of the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Channel, Channel
      • agentContactState

        AgentContactReference.Builder agentContactState​(String agentContactState)

        The state of the contact.

        When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

        Parameters:
        agentContactState - The state of the contact.

        When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContactState, ContactState
      • agentContactState

        AgentContactReference.Builder agentContactState​(ContactState agentContactState)

        The state of the contact.

        When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

        Parameters:
        agentContactState - The state of the contact.

        When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContactState, ContactState
      • stateStartTimestamp

        AgentContactReference.Builder stateStartTimestamp​(Instant stateStartTimestamp)

        The epoch timestamp when the contact state started.

        Parameters:
        stateStartTimestamp - The epoch timestamp when the contact state started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectedToAgentTimestamp

        AgentContactReference.Builder connectedToAgentTimestamp​(Instant connectedToAgentTimestamp)

        The time at which the contact was connected to an agent.

        Parameters:
        connectedToAgentTimestamp - The time at which the contact was connected to an agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queue

        AgentContactReference.Builder queue​(QueueReference queue)
        Sets the value of the Queue property for this object.
        Parameters:
        queue - The new value for the Queue property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.