Class PassThroughInferenceUpdateOptions.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PassThroughInferenceUpdateOptions.Builder>
co.elastic.clients.elasticsearch.ml.PassThroughInferenceUpdateOptions.Builder
- All Implemented Interfaces:
- WithJson<PassThroughInferenceUpdateOptions.Builder>,- ObjectBuilder<PassThroughInferenceUpdateOptions>
- Enclosing class:
- PassThroughInferenceUpdateOptions
public static class PassThroughInferenceUpdateOptions.Builder
extends WithJsonObjectBuilderBase<PassThroughInferenceUpdateOptions.Builder>
implements ObjectBuilder<PassThroughInferenceUpdateOptions>
Builder for 
PassThroughInferenceUpdateOptions.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aPassThroughInferenceUpdateOptions.resultsField(String value) The field that is added to incoming documents to contain the inference prediction.self()The tokenization options to update when inferringtokenization(Function<NlpTokenizationUpdateOptions.Builder, ObjectBuilder<NlpTokenizationUpdateOptions>> fn) The tokenization options to update when inferringMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
tokenizationpublic final PassThroughInferenceUpdateOptions.Builder tokenization(@Nullable NlpTokenizationUpdateOptions value) The tokenization options to update when inferringAPI name: tokenization
- 
tokenizationpublic final PassThroughInferenceUpdateOptions.Builder tokenization(Function<NlpTokenizationUpdateOptions.Builder, ObjectBuilder<NlpTokenizationUpdateOptions>> fn) The tokenization options to update when inferringAPI name: tokenization
- 
resultsFieldThe field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.API name: results_field
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<PassThroughInferenceUpdateOptions.Builder>
 
- 
buildBuilds aPassThroughInferenceUpdateOptions.- Specified by:
- buildin interface- ObjectBuilder<PassThroughInferenceUpdateOptions>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-