public void setContacts(java.util.Collection<AgentContactReference> contacts) {
        if (contacts == null) {
            this.contacts = null;
            return;
        }

        this.contacts = new java.util.ArrayList<AgentContactReference>(contacts);
    }
<p>
A list of contact reference information.
</p>

@param contacts
       A list of contact reference information.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UserData.java