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