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 Modifier and Type Method Description AgentInfo.BuilderagentPauseDurationInSeconds(Integer agentPauseDurationInSeconds)Agent pause duration for a contact in seconds.AgentInfo.BuilderconnectedToAgentTimestamp(Instant connectedToAgentTimestamp)The timestamp when the contact was connected to 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.
-
-