java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Input.Builder>
co.elastic.clients.elasticsearch.ml.put_trained_model.Input.Builder
All Implemented Interfaces:
WithJson<Input.Builder>, ObjectBuilder<Input>
Enclosing class:
Input

public static class Input.Builder
extends WithJsonObjectBuilderBase<Input.Builder>
implements ObjectBuilder<Input>
Builder for Input.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • fieldNames

      public final Input.Builder fieldNames​(java.util.List<java.lang.String> list)
      Required - API name: field_names

      Adds all elements of list to fieldNames.

    • fieldNames

      public final Input.Builder fieldNames​(java.lang.String value, java.lang.String... values)
      Required - API name: field_names

      Adds one or more values to fieldNames.

    • self

      protected Input.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<Input.Builder>
    • build

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