Class TargetMeanEncodingPreprocessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TargetMeanEncodingPreprocessor.Builder>
co.elastic.clients.elasticsearch.ml.put_trained_model.TargetMeanEncodingPreprocessor.Builder
- All Implemented Interfaces:
WithJson<TargetMeanEncodingPreprocessor.Builder>,ObjectBuilder<TargetMeanEncodingPreprocessor>
- Enclosing class:
- TargetMeanEncodingPreprocessor
public static class TargetMeanEncodingPreprocessor.Builder
extends WithJsonObjectBuilderBase<TargetMeanEncodingPreprocessor.Builder>
implements ObjectBuilder<TargetMeanEncodingPreprocessor>
Builder for
TargetMeanEncodingPreprocessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTargetMeanEncodingPreprocessor.defaultValue(double value) Required - API name:default_valuefeatureName(String value) Required - API name:feature_nameRequired - API name:fieldprotected TargetMeanEncodingPreprocessor.Builderself()Required - API name:target_mapRequired - API name:target_mapMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - API name:field -
featureName
Required - API name:feature_name -
targetMap
Required - API name:target_mapAdds all entries of
maptotargetMap. -
targetMap
Required - API name:target_mapAdds an entry to
targetMap. -
defaultValue
Required - API name:default_value -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TargetMeanEncodingPreprocessor.Builder>
-
build
Builds aTargetMeanEncodingPreprocessor.- Specified by:
buildin interfaceObjectBuilder<TargetMeanEncodingPreprocessor>- Throws:
NullPointerException- if some of the required fields are null.
-