Class ContextMethodParam.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.get_script_context.ContextMethodParam.Builder
- All Implemented Interfaces:
CopyableBuilder<ContextMethodParam.Builder,,ContextMethodParam> MutableBuilder<ContextMethodParam.Builder,,ContextMethodParam> ObjectBuilder<ContextMethodParam>
- Enclosing class:
ContextMethodParam
public static class ContextMethodParam.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ContextMethodParam.Builder,ContextMethodParam>
Builder for
ContextMethodParam.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aContextMethodParam.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:nameRequired - API name:typeMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ContextMethodParam.Builder,ContextMethodParam> - Returns:
- a new builder instance.
-
name
Required - API name:name -
type
Required - API name:type -
build
Builds aContextMethodParam.- Specified by:
buildin interfaceObjectBuilder<ContextMethodParam>- Throws:
NullPointerException- if some of the required fields are null.
-