Class Input.Builder
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 Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Inputbuild()Builds aInput.Input.BuilderfieldNames(java.lang.String value, java.lang.String... values)Required - API name:field_namesInput.BuilderfieldNames(java.util.List<java.lang.String> list)Required - API name:field_namesprotected Input.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
-
fieldNames
Required - API name:field_namesAdds all elements of
listtofieldNames. -
fieldNames
Required - API name:field_namesAdds one or more values to
fieldNames. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Input.Builder>
-
build
Builds aInput.- Specified by:
buildin interfaceObjectBuilder<Input>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-