Class ContextMethodParam.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.get_script_context.ContextMethodParam.Builder
- All Implemented Interfaces:
ObjectBuilder<ContextMethodParam>
- Enclosing class:
- ContextMethodParam
public static class ContextMethodParam.Builder extends ObjectBuilderBase 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:nameContextMethodParam.Buildertype(java.lang.String value)Required - API name:typeMethods 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 -
build
Builds aContextMethodParam.- Specified by:
buildin interfaceObjectBuilder<ContextMethodParam>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-