Interface AgentContactReference.Builder

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

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

    • 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

      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

      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:
    • initiationMethod

      AgentContactReference.Builder initiationMethod(String initiationMethod)

      How the contact was initiated.

      Parameters:
      initiationMethod - How the contact was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initiationMethod

      AgentContactReference.Builder initiationMethod(ContactInitiationMethod initiationMethod)

      How the contact was initiated.

      Parameters:
      initiationMethod - How the contact was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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

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

      Sets the value of the Queue property for this object. This is a convenience method that creates an instance of the QueueReference.Builder avoiding the need to create one manually via QueueReference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to queue(QueueReference).

      Parameters:
      queue - a consumer that will call methods on QueueReference.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: