Class MasterNodeOperationRequestBuilder<Request extends MasterNodeRequest<Request>,Response extends ActionResponse,RequestBuilder extends MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>>
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
- Direct Known Subclasses:
AcknowledgedRequestBuilder
,CleanupRepositoryRequestBuilder
,CloneSnapshotRequestBuilder
,ClusterAllocationExplainRequestBuilder
,CompletionPersistentTaskAction.RequestBuilder
,CreateSnapshotRequestBuilder
,DeleteIndexTemplateRequestBuilder
,DeleteSnapshotRequestBuilder
,GetSnapshotsRequestBuilder
,MasterNodeReadOperationRequestBuilder
,PutIndexTemplateRequestBuilder
,RemovePersistentTaskAction.RequestBuilder
,RestoreSnapshotRequestBuilder
,RolloverRequestBuilder
,SnapshotsStatusRequestBuilder
,StartPersistentTaskAction.RequestBuilder
,UpdatePersistentTaskStatusAction.RequestBuilder
,VerifyRepositoryRequestBuilder
public abstract class MasterNodeOperationRequestBuilder<Request extends MasterNodeRequest<Request>,Response extends ActionResponse,RequestBuilder extends MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>>
extends ActionRequestBuilder<Request,Response>
Base request builder for master node operations
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ModifierConstructorDescriptionprotected
MasterNodeOperationRequestBuilder
(ElasticsearchClient client, ActionType<Response> action, Request request) -
Method Summary
Modifier and TypeMethodDescriptionfinal RequestBuilder
setMasterNodeTimeout
(String timeout) Sets the master node timeout in case the master has not yet been discovered.final RequestBuilder
setMasterNodeTimeout
(TimeValue timeout) Sets the master node timeout in case the master has not yet been discovered.
-
Constructor Details
-
MasterNodeOperationRequestBuilder
protected MasterNodeOperationRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
-
Method Details
-
setMasterNodeTimeout
Sets the master node timeout in case the master has not yet been discovered. -
setMasterNodeTimeout
Sets the master node timeout in case the master has not yet been discovered.
-