Class OneHotEncodingPreprocessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<OneHotEncodingPreprocessor.Builder>
co.elastic.clients.elasticsearch.ml.put_trained_model.OneHotEncodingPreprocessor.Builder
- All Implemented Interfaces:
WithJson<OneHotEncodingPreprocessor.Builder>,ObjectBuilder<OneHotEncodingPreprocessor>
- Enclosing class:
- OneHotEncodingPreprocessor
public static class OneHotEncodingPreprocessor.Builder
extends WithJsonObjectBuilderBase<OneHotEncodingPreprocessor.Builder>
implements ObjectBuilder<OneHotEncodingPreprocessor>
Builder for
OneHotEncodingPreprocessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aOneHotEncodingPreprocessor.Required - API name:fieldRequired - API name:hot_mapRequired - API name:hot_mapprotected OneHotEncodingPreprocessor.Builderself()Methods 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 -
hotMap
Required - API name:hot_mapAdds all entries of
maptohotMap. -
hotMap
Required - API name:hot_mapAdds an entry to
hotMap. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<OneHotEncodingPreprocessor.Builder>
-
build
Builds aOneHotEncodingPreprocessor.- Specified by:
buildin interfaceObjectBuilder<OneHotEncodingPreprocessor>- Throws:
NullPointerException- if some of the required fields are null.
-