Interface AgentInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentInfo.Builder,
,AgentInfo> SdkBuilder<AgentInfo.Builder,
,AgentInfo> SdkPojo
- Enclosing class:
AgentInfo
-
Method Summary
Modifier and TypeMethodDescriptionafterContactWorkDuration
(Integer afterContactWorkDuration) The difference in time, in whole seconds, betweenAfterContactWorkStartTimestamp
andAfterContactWorkEndTimestamp
.afterContactWorkEndTimestamp
(Instant afterContactWorkEndTimestamp) The date and time when the agent ended After Contact Work for the contact, in UTC time.afterContactWorkStartTimestamp
(Instant afterContactWorkStartTimestamp) The date and time when the agent started doing After Contact Work for the contact, in UTC time.agentInitiatedHoldDuration
(Integer agentInitiatedHoldDuration) The total hold duration in seconds initiated by the agent.agentPauseDurationInSeconds
(Integer agentPauseDurationInSeconds) Agent pause duration for a contact in seconds.default AgentInfo.Builder
capabilities
(Consumer<ParticipantCapabilities.Builder> capabilities) Sets the value of the Capabilities property for this object.capabilities
(ParticipantCapabilities capabilities) Sets the value of the Capabilities property for this object.connectedToAgentTimestamp
(Instant connectedToAgentTimestamp) The timestamp when the contact was connected to the agent.default AgentInfo.Builder
deviceInfo
(Consumer<DeviceInfo.Builder> deviceInfo) Information regarding Agent’s device.deviceInfo
(DeviceInfo deviceInfo) Information regarding Agent’s device.default AgentInfo.Builder
hierarchyGroups
(Consumer<HierarchyGroups.Builder> hierarchyGroups) The agent hierarchy groups for the agent.hierarchyGroups
(HierarchyGroups hierarchyGroups) The agent hierarchy groups for the agent.The identifier of the agent who accepted the contact.stateTransitions
(Collection<StateTransition> stateTransitions) List ofStateTransition
for a supervisor.stateTransitions
(Consumer<StateTransition.Builder>... stateTransitions) List ofStateTransition
for a supervisor.stateTransitions
(StateTransition... stateTransitions) List ofStateTransition
for a supervisor.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, sdkFieldNameToField, sdkFields
-
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
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
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.
-
hierarchyGroups
The agent hierarchy groups for the agent.
- Parameters:
hierarchyGroups
- The agent hierarchy groups for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyGroups
The agent hierarchy groups for the agent.
This is a convenience method that creates an instance of theHierarchyGroups.Builder
avoiding the need to create one manually viaHierarchyGroups.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohierarchyGroups(HierarchyGroups)
.- Parameters:
hierarchyGroups
- a consumer that will call methods onHierarchyGroups.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceInfo
Information regarding Agent’s device.
- Parameters:
deviceInfo
- Information regarding Agent’s device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInfo
Information regarding Agent’s device.
This is a convenience method that creates an instance of theDeviceInfo.Builder
avoiding the need to create one manually viaDeviceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceInfo(DeviceInfo)
.- Parameters:
deviceInfo
- a consumer that will call methods onDeviceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilities
Sets the value of the Capabilities property for this object.- Parameters:
capabilities
- The new value for the Capabilities property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Sets the value of the Capabilities property for this object. This is a convenience method that creates an instance of theParticipantCapabilities.Builder
avoiding the need to create one manually viaParticipantCapabilities.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(ParticipantCapabilities)
.- Parameters:
capabilities
- a consumer that will call methods onParticipantCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
afterContactWorkDuration
The difference in time, in whole seconds, between
AfterContactWorkStartTimestamp
andAfterContactWorkEndTimestamp
.- Parameters:
afterContactWorkDuration
- The difference in time, in whole seconds, betweenAfterContactWorkStartTimestamp
andAfterContactWorkEndTimestamp
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterContactWorkStartTimestamp
The date and time when the agent started doing After Contact Work for the contact, in UTC time.
- Parameters:
afterContactWorkStartTimestamp
- The date and time when the agent started doing After Contact Work for the contact, in UTC time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterContactWorkEndTimestamp
The date and time when the agent ended After Contact Work for the contact, in UTC time. In cases when agent finishes doing
AfterContactWork
for chat contacts and switches their activity status to offline or equivalent without clearing the contact in CCP, discrepancies may be noticed forAfterContactWorkEndTimestamp
.- Parameters:
afterContactWorkEndTimestamp
- The date and time when the agent ended After Contact Work for the contact, in UTC time. In cases when agent finishes doingAfterContactWork
for chat contacts and switches their activity status to offline or equivalent without clearing the contact in CCP, discrepancies may be noticed forAfterContactWorkEndTimestamp
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentInitiatedHoldDuration
The total hold duration in seconds initiated by the agent.
- Parameters:
agentInitiatedHoldDuration
- The total hold duration in seconds initiated by the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitions
List of
StateTransition
for a supervisor.- Parameters:
stateTransitions
- List ofStateTransition
for a supervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitions
List of
StateTransition
for a supervisor.- Parameters:
stateTransitions
- List ofStateTransition
for a supervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitions
List of
This is a convenience method that creates an instance of theStateTransition
for a supervisor.StateTransition.Builder
avoiding the need to create one manually viaStateTransition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateTransitions(List<StateTransition>)
.- Parameters:
stateTransitions
- a consumer that will call methods onStateTransition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-