Class NlpTokenizationUpdateOptions.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NlpTokenizationUpdateOptions.Builder>
co.elastic.clients.elasticsearch.ml.NlpTokenizationUpdateOptions.Builder
- All Implemented Interfaces:
WithJson<NlpTokenizationUpdateOptions.Builder>,ObjectBuilder<NlpTokenizationUpdateOptions>
- Enclosing class:
- NlpTokenizationUpdateOptions
public static class NlpTokenizationUpdateOptions.Builder extends WithJsonObjectBuilderBase<NlpTokenizationUpdateOptions.Builder> implements ObjectBuilder<NlpTokenizationUpdateOptions>
Builder for
NlpTokenizationUpdateOptions.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NlpTokenizationUpdateOptionsbuild()Builds aNlpTokenizationUpdateOptions.protected NlpTokenizationUpdateOptions.Builderself()NlpTokenizationUpdateOptions.Builderspan(java.lang.Integer value)Span options to applyNlpTokenizationUpdateOptions.Buildertruncate(TokenizationTruncate value)Truncate options to applyMethods 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
-
truncate
Truncate options to applyAPI name:
truncate -
span
Span options to applyAPI name:
span -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NlpTokenizationUpdateOptions.Builder>
-
build
Builds aNlpTokenizationUpdateOptions.- Specified by:
buildin interfaceObjectBuilder<NlpTokenizationUpdateOptions>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-