Class ContextMethodParam.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.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 forContextMethodParam.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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:type-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
name
public final ContextMethodParam.Builder name(java.lang.String value)
Required - API name:name
-
type
public final ContextMethodParam.Builder type(java.lang.String value)
Required - API name:type
-
build
public ContextMethodParam build()
Builds aContextMethodParam.- Specified by:
buildin interfaceObjectBuilder<ContextMethodParam>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-