doc / ch.tutteli.atrium.domain.builders.creating.changers / FeatureExtractorBuilder / OptionsStep / withOptions

withOptions

open fun withOptions(configuration: FeatureExtractorBuilder.OptionsChooser<R>.() -> Unit): FeatureExtractorBuilder.FinalStep<T, R>

Allows to define the FeatureOptions via an OptionsChooser-lambda which provides convenience functions.

The function usually start with with... and are sometimes overloaded to ease the configuration.

abstract fun withOptions(expectOptions: FeatureOptions<R>): FeatureExtractorBuilder.FinalStep<T, R>

Uses the given expectOptions.