Interface AgentContactReference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentContactReference.Builder,
,AgentContactReference> SdkBuilder<AgentContactReference.Builder,
,AgentContactReference> SdkPojo
- Enclosing class:
AgentContactReference
-
Method Summary
Modifier and TypeMethodDescriptionagentContactState
(String agentContactState) The state of the contact.agentContactState
(ContactState agentContactState) The state of the contact.The channel of the contact.The channel of the contact.connectedToAgentTimestamp
(Instant connectedToAgentTimestamp) The time at which the contact was connected to an agent.The identifier of the contact in this instance of Amazon Connect.initiationMethod
(String initiationMethod) How the contact was initiated.initiationMethod
(ContactInitiationMethod initiationMethod) How the contact was initiated.default AgentContactReference.Builder
queue
(Consumer<QueueReference.Builder> queue) Sets the value of the Queue property for this object.queue
(QueueReference queue) Sets the value of the Queue property for this object.stateStartTimestamp
(Instant stateStartTimestamp) The epoch timestamp when the contact state started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
The state of the contact.
When
AgentContactState
is set toCONNECTED_ONHOLD
,StateStartTimestamp
is not changed. Instead,StateStartTimestamp
reflects the time the contact wasCONNECTED
to the agent.- Parameters:
agentContactState
- The state of the contact.When
AgentContactState
is set toCONNECTED_ONHOLD
,StateStartTimestamp
is not changed. Instead,StateStartTimestamp
reflects the time the contact wasCONNECTED
to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentContactState
The state of the contact.
When
AgentContactState
is set toCONNECTED_ONHOLD
,StateStartTimestamp
is not changed. Instead,StateStartTimestamp
reflects the time the contact wasCONNECTED
to the agent.- Parameters:
agentContactState
- The state of the contact.When
AgentContactState
is set toCONNECTED_ONHOLD
,StateStartTimestamp
is not changed. Instead,StateStartTimestamp
reflects the time the contact wasCONNECTED
to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theQueueReference.Builder
avoiding the need to create one manually viaQueueReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueue(QueueReference)
.- Parameters:
queue
- a consumer that will call methods onQueueReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-