public void setAgents(java.util.Collection<String> agents) {
        if (agents == null) {
            this.agents = null;
            return;
        }

        this.agents = new java.util.ArrayList<String>(agents);
    }
<p>
A list of up to 100 agent IDs or ARNs.
</p>

@param agents
       A list of up to 100 agent IDs or ARNs.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UserDataFilters.java