Class InferenceClassImportance.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.InferenceClassImportance.Builder
-
- All Implemented Interfaces:
ObjectBuilder<InferenceClassImportance>
- Enclosing class:
- InferenceClassImportance
public static class InferenceClassImportance.Builder extends ObjectBuilderBase implements ObjectBuilder<InferenceClassImportance>
Builder forInferenceClassImportance
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InferenceClassImportance
build()
Builds aInferenceClassImportance
.InferenceClassImportance.Builder
className(java.lang.String value)
Required - API name:class_name
InferenceClassImportance.Builder
importance(double value)
Required - API name:importance
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
className
public final InferenceClassImportance.Builder className(java.lang.String value)
Required - API name:class_name
-
importance
public final InferenceClassImportance.Builder importance(double value)
Required - API name:importance
-
build
public InferenceClassImportance build()
Builds aInferenceClassImportance
.- Specified by:
build
in interfaceObjectBuilder<InferenceClassImportance>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-