@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getQueues() != null)
            sb.append("Queues: ").append(getQueues()).append(",");
        if (getContactFilter() != null)
            sb.append("ContactFilter: ").append(getContactFilter()).append(",");
        if (getRoutingProfiles() != null)
            sb.append("RoutingProfiles: ").append(getRoutingProfiles()).append(",");
        if (getAgents() != null)
            sb.append("Agents: ").append(getAgents()).append(",");
        if (getUserHierarchyGroups() != null)
            sb.append("UserHierarchyGroups: ").append(getUserHierarchyGroups());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UserDataFilters.java