Class DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>
- Enclosing class:
- DataframeAnalysisFeatureProcessorOneHotEncoding
public static class DataframeAnalysisFeatureProcessorOneHotEncoding.Builder extends ObjectBuilderBase implements ObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>
Builder for
DataframeAnalysisFeatureProcessorOneHotEncoding
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeAnalysisFeatureProcessorOneHotEncoding
build()
DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
field(java.lang.String value)
Required - The name of the field to encode.DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
hotMap(java.lang.String value)
Required - The one hot map mapping the field value with the column name.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - The name of the field to encode.API name:
field
-
hotMap
public final DataframeAnalysisFeatureProcessorOneHotEncoding.Builder hotMap(java.lang.String value)Required - The one hot map mapping the field value with the column name.API name:
hot_map
-
build
- Specified by:
build
in interfaceObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-