Interface AgentInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentInfo.Builder,,AgentInfo> SdkBuilder<AgentInfo.Builder,,AgentInfo> SdkPojo
- Enclosing class:
AgentInfo
-
Method Summary
Modifier and TypeMethodDescriptionacceptedByAgentTimestamp(Instant acceptedByAgentTimestamp) The timestamp when the contact was accepted by the agent.afterContactWorkDuration(Integer afterContactWorkDuration) The difference in time, in whole seconds, betweenAfterContactWorkStartTimestampandAfterContactWorkEndTimestamp.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.Buildercapabilities(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.BuilderdeviceInfo(Consumer<DeviceInfo.Builder> deviceInfo) Information regarding Agent’s device.deviceInfo(DeviceInfo deviceInfo) Information regarding Agent’s device.default AgentInfo.BuilderhierarchyGroups(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.previewEndTimestamp(Instant previewEndTimestamp) The timestamp when the agent finished previewing the contact.stateTransitions(Collection<StateTransition> stateTransitions) List ofStateTransitionfor a supervisor.stateTransitions(Consumer<StateTransition.Builder>... stateTransitions) List ofStateTransitionfor a supervisor.stateTransitions(StateTransition... stateTransitions) List ofStateTransitionfor a supervisor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
acceptedByAgentTimestamp
The timestamp when the contact was accepted by the agent.
- Parameters:
acceptedByAgentTimestamp- The timestamp when the contact was accepted by the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previewEndTimestamp
The timestamp when the agent finished previewing the contact.
- Parameters:
previewEndTimestamp- The timestamp when the agent finished previewing 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.Builderavoiding the need to create one manually viaHierarchyGroups.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDeviceInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaParticipantCapabilities.builder().When the
Consumercompletes,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
AfterContactWorkStartTimestampandAfterContactWorkEndTimestamp.- Parameters:
afterContactWorkDuration- The difference in time, in whole seconds, betweenAfterContactWorkStartTimestampandAfterContactWorkEndTimestamp.- 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
AfterContactWorkfor 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 doingAfterContactWorkfor 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
StateTransitionfor a supervisor.- Parameters:
stateTransitions- List ofStateTransitionfor a supervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitions
List of
StateTransitionfor a supervisor.- Parameters:
stateTransitions- List ofStateTransitionfor 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 theStateTransitionfor a supervisor.StateTransition.Builderavoiding the need to create one manually viaStateTransition.builder().When the
Consumercompletes,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:
-