Class TrainedModelInferenceClassImportance.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TrainedModelInferenceClassImportance.Builder>
co.elastic.clients.elasticsearch.ml.TrainedModelInferenceClassImportance.Builder
- All Implemented Interfaces:
WithJson<TrainedModelInferenceClassImportance.Builder>,ObjectBuilder<TrainedModelInferenceClassImportance>
- Enclosing class:
- TrainedModelInferenceClassImportance
public static class TrainedModelInferenceClassImportance.Builder extends WithJsonObjectBuilderBase<TrainedModelInferenceClassImportance.Builder> implements ObjectBuilder<TrainedModelInferenceClassImportance>
Builder for
TrainedModelInferenceClassImportance.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TrainedModelInferenceClassImportancebuild()Builds aTrainedModelInferenceClassImportance.TrainedModelInferenceClassImportance.BuilderclassName(java.lang.String value)Required - API name:class_nameTrainedModelInferenceClassImportance.Builderimportance(double value)Required - API name:importanceprotected TrainedModelInferenceClassImportance.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
-
className
Required - API name:class_name -
importance
Required - API name:importance -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TrainedModelInferenceClassImportance.Builder>
-
build
Builds aTrainedModelInferenceClassImportance.- Specified by:
buildin interfaceObjectBuilder<TrainedModelInferenceClassImportance>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-