Class DataframeClassificationSummaryAccuracy.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeClassificationSummaryAccuracy.Builder>
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.DataframeClassificationSummaryAccuracy.Builder
- All Implemented Interfaces:
WithJson<DataframeClassificationSummaryAccuracy.Builder>,ObjectBuilder<DataframeClassificationSummaryAccuracy>
- Enclosing class:
- DataframeClassificationSummaryAccuracy
public static class DataframeClassificationSummaryAccuracy.Builder extends WithJsonObjectBuilderBase<DataframeClassificationSummaryAccuracy.Builder> implements ObjectBuilder<DataframeClassificationSummaryAccuracy>
Builder for
DataframeClassificationSummaryAccuracy.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataframeClassificationSummaryAccuracybuild()Builds aDataframeClassificationSummaryAccuracy.DataframeClassificationSummaryAccuracy.Builderclasses(DataframeEvaluationClass value, DataframeEvaluationClass... values)Required - API name:classesDataframeClassificationSummaryAccuracy.Builderclasses(java.util.function.Function<DataframeEvaluationClass.Builder,ObjectBuilder<DataframeEvaluationClass>> fn)Required - API name:classesDataframeClassificationSummaryAccuracy.Builderclasses(java.util.List<DataframeEvaluationClass> list)Required - API name:classesDataframeClassificationSummaryAccuracy.BuilderoverallAccuracy(double value)Required - API name:overall_accuracyprotected DataframeClassificationSummaryAccuracy.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classes
public final DataframeClassificationSummaryAccuracy.Builder classes(java.util.List<DataframeEvaluationClass> list)Required - API name:classesAdds all elements of
listtoclasses. -
classes
public final DataframeClassificationSummaryAccuracy.Builder classes(DataframeEvaluationClass value, DataframeEvaluationClass... values)Required - API name:classesAdds one or more values to
classes. -
classes
public final DataframeClassificationSummaryAccuracy.Builder classes(java.util.function.Function<DataframeEvaluationClass.Builder,ObjectBuilder<DataframeEvaluationClass>> fn)Required - API name:classesAdds a value to
classesusing a builder lambda. -
overallAccuracy
Required - API name:overall_accuracy -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataframeClassificationSummaryAccuracy.Builder>
-
build
Builds aDataframeClassificationSummaryAccuracy.- Specified by:
buildin interfaceObjectBuilder<DataframeClassificationSummaryAccuracy>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-