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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
fieldRequired - API name:field
- 
hotMapRequired - API name:hot_mapAdds all entries of maptohotMap.
- 
hotMapRequired - API name:hot_mapAdds an entry to hotMap.
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<OneHotEncodingPreprocessor.Builder>
 
- 
buildBuilds aOneHotEncodingPreprocessor.- Specified by:
- buildin interface- ObjectBuilder<OneHotEncodingPreprocessor>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-