//[passport](../../../../index.md)/[com.yandex.passport.api](../../index.md)/[PassportFilter](../index.md)/[Builder](index.md)/[setPrimaryEnvironment](set-primary-environment.md)

# setPrimaryEnvironment

[passport]\
abstract fun [setPrimaryEnvironment](set-primary-environment.md)(primaryEnvironment: [PassportEnvironment](../../-passport-environment/index.md)): [PassportFilter.Builder](index.md)
