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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentInfo.BuilderagentPauseDurationInSeconds(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.AgentInfo.Buildercapabilities(ParticipantCapabilities capabilities)Sets the value of the Capabilities property for this object.AgentInfo.BuilderconnectedToAgentTimestamp(Instant connectedToAgentTimestamp)The timestamp when the contact was connected to the agent.default AgentInfo.BuilderdeviceInfo(Consumer<DeviceInfo.Builder> deviceInfo)Information regarding Agent’s device.AgentInfo.BuilderdeviceInfo(DeviceInfo deviceInfo)Information regarding Agent’s device.default AgentInfo.BuilderhierarchyGroups(Consumer<HierarchyGroups.Builder> hierarchyGroups)The agent hierarchy groups for the agent.AgentInfo.BuilderhierarchyGroups(HierarchyGroups hierarchyGroups)The agent hierarchy groups for the agent.AgentInfo.Builderid(String id)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 Detail
-
id
AgentInfo.Builder id(String 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
AgentInfo.Builder connectedToAgentTimestamp(Instant 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
AgentInfo.Builder agentPauseDurationInSeconds(Integer 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
AgentInfo.Builder hierarchyGroups(HierarchyGroups 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
default AgentInfo.Builder hierarchyGroups(Consumer<HierarchyGroups.Builder> 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:
hierarchyGroups(HierarchyGroups)
-
deviceInfo
AgentInfo.Builder deviceInfo(DeviceInfo 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
default AgentInfo.Builder deviceInfo(Consumer<DeviceInfo.Builder> 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:
deviceInfo(DeviceInfo)
-
capabilities
AgentInfo.Builder capabilities(ParticipantCapabilities 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
default AgentInfo.Builder capabilities(Consumer<ParticipantCapabilities.Builder> 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:
capabilities(ParticipantCapabilities)
-
-