Class PutStoredScriptRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<PutStoredScriptRequest,AcknowledgedResponse,PutStoredScriptRequestBuilder>
org.elasticsearch.action.admin.cluster.storedscripts.PutStoredScriptRequestBuilder
public class PutStoredScriptRequestBuilder
extends AcknowledgedRequestBuilder<PutStoredScriptRequest,AcknowledgedResponse,PutStoredScriptRequestBuilder>
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionPutStoredScriptRequestBuilder
(ElasticsearchClient client, PutStoredScriptAction action) -
Method Summary
Modifier and TypeMethodDescriptionsetContent
(BytesReference source, XContentType xContentType) Set the source of the script along with the content type of the sourcesetContext
(String context) Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestBuilder
setTimeout, setTimeout
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
PutStoredScriptRequestBuilder
-
-
Method Details
-
setId
-
setContext
-
setContent
Set the source of the script along with the content type of the source
-