Class TrainedModelPrefixStrings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TrainedModelPrefixStrings.Builder>
co.elastic.clients.elasticsearch.ml.TrainedModelPrefixStrings.Builder
- All Implemented Interfaces:
WithJson<TrainedModelPrefixStrings.Builder>
,ObjectBuilder<TrainedModelPrefixStrings>
- Enclosing class:
- TrainedModelPrefixStrings
public static class TrainedModelPrefixStrings.Builder
extends WithJsonObjectBuilderBase<TrainedModelPrefixStrings.Builder>
implements ObjectBuilder<TrainedModelPrefixStrings>
Builder for
TrainedModelPrefixStrings
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aTrainedModelPrefixStrings
.String prepended to input at ingestString prepended to input at searchprotected TrainedModelPrefixStrings.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ingest
String prepended to input at ingestAPI name:
ingest
-
search
String prepended to input at searchAPI name:
search
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TrainedModelPrefixStrings.Builder>
-
build
Builds aTrainedModelPrefixStrings
.- Specified by:
build
in interfaceObjectBuilder<TrainedModelPrefixStrings>
- Throws:
NullPointerException
- if some of the required fields are null.
-