Class Weights.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.put_trained_model.Weights.Builder
- All Implemented Interfaces:
ObjectBuilder<Weights>
- Enclosing class:
- Weights
public static class Weights.Builder extends ObjectBuilderBase implements ObjectBuilder<Weights>
Builder for
Weights
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Weights
build()
Builds aWeights
.Weights.Builder
weights(double value)
Required - API name:weights
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
weights
Required - API name:weights
-
build
Builds aWeights
.- Specified by:
build
in interfaceObjectBuilder<Weights>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-