Class ContextMethodParam.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ContextMethodParam.Builder>
co.elastic.clients.elasticsearch.core.get_script_context.ContextMethodParam.Builder
- All Implemented Interfaces:
WithJson<ContextMethodParam.Builder>,ObjectBuilder<ContextMethodParam>
- Enclosing class:
- ContextMethodParam
public static class ContextMethodParam.Builder extends WithJsonObjectBuilderBase<ContextMethodParam.Builder> implements ObjectBuilder<ContextMethodParam>
Builder for
ContextMethodParam.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ContextMethodParambuild()Builds aContextMethodParam.ContextMethodParam.Buildername(java.lang.String value)Required - API name:nameprotected ContextMethodParam.Builderself()ContextMethodParam.Buildertype(java.lang.String value)Required - API name:typeMethods 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
-
name
Required - API name:name -
type
Required - API name:type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ContextMethodParam.Builder>
-
build
Builds aContextMethodParam.- Specified by:
buildin interfaceObjectBuilder<ContextMethodParam>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-