Class StoredScriptId.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.ScriptBase.AbstractBuilder<StoredScriptId.Builder>
-
- org.opensearch.client.opensearch._types.StoredScriptId.Builder
-
- All Implemented Interfaces:
ObjectBuilder<StoredScriptId>
- Enclosing class:
- StoredScriptId
public static class StoredScriptId.Builder extends ScriptBase.AbstractBuilder<StoredScriptId.Builder> implements ObjectBuilder<StoredScriptId>
Builder forStoredScriptId
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredScriptId
build()
Builds aStoredScriptId
.StoredScriptId.Builder
id(java.lang.String value)
Required - API name:id
protected StoredScriptId.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.ScriptBase.AbstractBuilder
params, params
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
id
public final StoredScriptId.Builder id(java.lang.String value)
Required - API name:id
-
self
protected StoredScriptId.Builder self()
- Specified by:
self
in classScriptBase.AbstractBuilder<StoredScriptId.Builder>
-
build
public StoredScriptId build()
Builds aStoredScriptId
.- Specified by:
build
in interfaceObjectBuilder<StoredScriptId>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-