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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentContactReference.BuilderagentContactState(String agentContactState)The state of the contact.AgentContactReference.BuilderagentContactState(ContactState agentContactState)The state of the contact.AgentContactReference.Builderchannel(String channel)The channel of the contact.AgentContactReference.Builderchannel(Channel channel)The channel of the contact.AgentContactReference.BuilderconnectedToAgentTimestamp(Instant connectedToAgentTimestamp)The time at which the contact was connected to an agent.AgentContactReference.BuildercontactId(String contactId)The identifier of the contact in this instance of Amazon Connect.AgentContactReference.BuilderinitiationMethod(String initiationMethod)How the contact was initiated.AgentContactReference.BuilderinitiationMethod(ContactInitiationMethod initiationMethod)How the contact was initiated.default AgentContactReference.Builderqueue(Consumer<QueueReference.Builder> queue)Sets the value of the Queue property for this object.AgentContactReference.Builderqueue(QueueReference queue)Sets the value of the Queue property for this object.AgentContactReference.BuilderstateStartTimestamp(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 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.
-
channel
AgentContactReference.Builder channel(Channel channel)
The channel of the contact.
-
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:
ContactInitiationMethod,ContactInitiationMethod
-
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:
ContactInitiationMethod,ContactInitiationMethod
-
agentContactState
AgentContactReference.Builder agentContactState(String agentContactState)
The state of the contact.
- Parameters:
agentContactState- The state of the contact.- 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.
- Parameters:
agentContactState- The state of the contact.- 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.
-
queue
default AgentContactReference.Builder queue(Consumer<QueueReference.Builder> queue)
Sets the value of the Queue property for this object. This is a convenience method that creates an instance of theQueueReference.Builderavoiding the need to create one manually viaQueueReference.builder().When the
Consumercompletes,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:
queue(QueueReference)
-
-