java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Weights.Builder
All Implemented Interfaces:
ObjectBuilder<Weights>
Enclosing class:
Weights

public static class Weights.Builder
extends java.lang.Object
implements ObjectBuilder<Weights>
Builder for Weights.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Weights build()
    Builds a Weights.
    Weights.Builder weights​(double value)
    Required - API name: weights

    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

      public Weights.Builder weights​(double value)
      Required - API name: weights
    • build

      public Weights build()
      Builds a Weights.
      Specified by:
      build in interface ObjectBuilder<Weights>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.