when

public static ServerEnvironment.TypeConfigurator when(Class<? extends EnvironmentType<?>> type)

Starts flowing API chain for configuring ServerEnvironment for the passed type.