Class DataframeClassificationSummaryRecall.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeClassificationSummaryRecall.Builder>
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.DataframeClassificationSummaryRecall.Builder
- All Implemented Interfaces:
WithJson<DataframeClassificationSummaryRecall.Builder>
,ObjectBuilder<DataframeClassificationSummaryRecall>
- Enclosing class:
- DataframeClassificationSummaryRecall
public static class DataframeClassificationSummaryRecall.Builder
extends WithJsonObjectBuilderBase<DataframeClassificationSummaryRecall.Builder>
implements ObjectBuilder<DataframeClassificationSummaryRecall>
Builder for
DataframeClassificationSummaryRecall
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionavgRecall
(double value) Required - API name:avg_recall
build()
Builds aDataframeClassificationSummaryRecall
.classes
(DataframeEvaluationClass value, DataframeEvaluationClass... values) Required - API name:classes
Required - API name:classes
classes
(List<DataframeEvaluationClass> list) Required - API name:classes
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classes
public final DataframeClassificationSummaryRecall.Builder classes(List<DataframeEvaluationClass> list) Required - API name:classes
Adds all elements of
list
toclasses
. -
classes
public final DataframeClassificationSummaryRecall.Builder classes(DataframeEvaluationClass value, DataframeEvaluationClass... values) Required - API name:classes
Adds one or more values to
classes
. -
classes
public final DataframeClassificationSummaryRecall.Builder classes(Function<DataframeEvaluationClass.Builder, ObjectBuilder<DataframeEvaluationClass>> fn) Required - API name:classes
Adds a value to
classes
using a builder lambda. -
avgRecall
Required - API name:avg_recall
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataframeClassificationSummaryRecall.Builder>
-
build
Builds aDataframeClassificationSummaryRecall
.- Specified by:
build
in interfaceObjectBuilder<DataframeClassificationSummaryRecall>
- Throws:
NullPointerException
- if some of the required fields are null.
-