public AgentInfo withConnectedToAgentTimestamp(java.util.Date connectedToAgentTimestamp) {
        setConnectedToAgentTimestamp(connectedToAgentTimestamp);
        return this;
    }
<p>
The timestamp when the contact was connected to the agent.
</p>

@param connectedToAgentTimestamp
       The timestamp when the contact was connected to the agent.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentInfo.java