public UserData withContacts(java.util.Collection<AgentContactReference> contacts) {
        setContacts(contacts);
        return this;
    }
<p>
A list of contact reference information.
</p>

@param contacts
       A list of contact reference information.
@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/UserData.java