Interface AgentInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentInfo.Builder,
,AgentInfo> SdkBuilder<AgentInfo.Builder,
,AgentInfo> SdkPojo
- Enclosing class:
AgentInfo
public static interface AgentInfo.Builder
extends SdkPojo, CopyableBuilder<AgentInfo.Builder,AgentInfo>
-
Method Summary
Modifier and TypeMethodDescriptionagentPauseDurationInSeconds
(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.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
-
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:
-