public Contact withAgentInfo(AgentInfo agentInfo) {
        setAgentInfo(agentInfo);
        return this;
    }
<p>
Information about the agent who accepted the contact.
</p>

@param agentInfo
       Information about the agent who accepted the contact.
@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/Contact.java