Class ScriptBase.AbstractBuilder<BuilderT extends ScriptBase.AbstractBuilder<BuilderT>>
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.ScriptBase.AbstractBuilder<BuilderT>
-
- Direct Known Subclasses:
InlineScript.Builder
,StoredScriptId.Builder
- Enclosing class:
- ScriptBase
protected abstract static class ScriptBase.AbstractBuilder<BuilderT extends ScriptBase.AbstractBuilder<BuilderT>> extends ObjectBuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BuilderT
params(java.lang.String key, JsonData value)
API name:params
BuilderT
params(java.util.Map<java.lang.String,JsonData> map)
API name:params
protected abstract BuilderT
self()
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
params
public final BuilderT params(java.util.Map<java.lang.String,JsonData> map)
API name:params
Adds all entries of
map
toparams
.
-
params
public final BuilderT params(java.lang.String key, JsonData value)
API name:params
Adds an entry to
params
.
-
self
protected abstract BuilderT self()
-
-