presto-mongodb/src/main/java/io/prestosql/plugin/mongodb/ReadPreferenceType.java/ReadPreferenceType/ReadPreferenceType
class ReadPreferenceType:    ReadPreferenceType(ReadPreference readPreference)
    {
        this.readPreference = requireNonNull(readPreference, "readPreference is null");
    }