driver-core/src/main/com/mongodb/ReadPreference.java
public static TaggableReadPreference valueOf(final String name, final List<TagSet> tagSetList) {
        return valueOf(name, tagSetList, null, MILLISECONDS);
    }
public static TaggableReadPreference valueOf(final String name, final List<TagSet> tagSetList) {
        return valueOf(name, tagSetList, null, MILLISECONDS);
    }
Creates a taggable read preference from the given read preference name and list of tag sets.

@param name the name of the read preference
@param tagSetList the list of tag sets
@return the taggable read preference
@since 2.13