Class DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisFeatureProcessorOneHotEncoding.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>
- Enclosing class:
- DataframeAnalysisFeatureProcessorOneHotEncoding
public static class DataframeAnalysisFeatureProcessorOneHotEncoding.Builder extends java.lang.Object implements ObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>
Builder for
DataframeAnalysisFeatureProcessorOneHotEncoding.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataframeAnalysisFeatureProcessorOneHotEncodingbuild()DataframeAnalysisFeatureProcessorOneHotEncoding.Builderfield(java.lang.String value)Required - The name of the field to encode.DataframeAnalysisFeatureProcessorOneHotEncoding.BuilderhotMap(java.lang.String value)Required - The one hot map mapping the field value with the column name.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
Required - The one hot map mapping the field value with the column name.API name:
hot_map -
build
- Specified by:
buildin interfaceObjectBuilder<DataframeAnalysisFeatureProcessorOneHotEncoding>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-