public UserDataFilters withRoutingProfiles(String... routingProfiles) {
        if (this.routingProfiles == null) {
            setRoutingProfiles(new java.util.ArrayList<String>(routingProfiles.length));
        }
        for (String ele : routingProfiles) {
            this.routingProfiles.add(ele);
        }
        return this;
    }
<p>
A list of up to 100 routing profile IDs or ARNs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRoutingProfiles(java.util.Collection)} or {@link #withRoutingProfiles(java.util.Collection)} if you
want to override the existing values.
</p>

@param routingProfiles
       A list of up to 100 routing profile IDs or ARNs.
@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/UserDataFilters.java