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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aContextMethodParam.Required - API name:nameprotected ContextMethodParam.Builderself()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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-