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 TypeMethodDescriptionsetMasterNodeTimeout(String timeout)
Sets the master node timeout in case the master has not yet been discovered.setMasterNodeTimeout(org.elasticsearch.core.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.
-