Class NativeCode.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NativeCode.Builder>
co.elastic.clients.elasticsearch.ml.info.NativeCode.Builder
- All Implemented Interfaces:
WithJson<NativeCode.Builder>,ObjectBuilder<NativeCode>
- Enclosing class:
- NativeCode
public static class NativeCode.Builder extends WithJsonObjectBuilderBase<NativeCode.Builder> implements ObjectBuilder<NativeCode>
Builder for
NativeCode.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NativeCodebuild()Builds aNativeCode.NativeCode.BuilderbuildHash(java.lang.String value)Required - API name:build_hashprotected NativeCode.Builderself()NativeCode.Builderversion(java.lang.String value)Required - API name:versionMethods 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
-
buildHash
Required - API name:build_hash -
version
Required - API name:version -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NativeCode.Builder>
-
build
Builds aNativeCode.- Specified by:
buildin interfaceObjectBuilder<NativeCode>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-