Class Input.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Input.Builder
- All Implemented Interfaces:
ObjectBuilder<Input>
- Enclosing class:
- Input
public static class Input.Builder extends java.lang.Object implements ObjectBuilder<Input>
Builder for
Input.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Input.BuilderaddFieldNames(java.lang.String value)Add a value tofieldNames(List), creating the list if needed.Inputbuild()Builds aInput.Input.BuilderfieldNames(java.lang.String... value)Required - API name:field_namesInput.BuilderfieldNames(java.util.List<java.lang.String> value)Required - API name:field_namesMethods 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_names -
fieldNames
Required - API name:field_names -
addFieldNames
Add a value tofieldNames(List), creating the list if needed. -
build
Builds aInput.- Specified by:
buildin interfaceObjectBuilder<Input>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-