Class ContextMethodParam.Builder
java.lang.Object
org.opensearch.client.opensearch._global.get_script_context.ContextMethodParam.Builder
- All Implemented Interfaces:
ObjectBuilder<ContextMethodParam>
- Enclosing class:
- ContextMethodParam
public static class ContextMethodParam.Builder extends java.lang.Object implements ObjectBuilder<ContextMethodParam>
Builder for
ContextMethodParam.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ContextMethodParambuild()Builds aContextMethodParam.ContextMethodParam.Buildername(java.lang.String value)API name:nameContextMethodParam.Buildertype(java.lang.String value)API name:type
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
API name:name -
type
API name:type -
build
Builds aContextMethodParam.- Specified by:
buildin interfaceObjectBuilder<ContextMethodParam>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-