Class GetRepositoriesRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder<GetRepositoriesRequest,GetRepositoriesResponse,GetRepositoriesRequestBuilder>
org.elasticsearch.action.admin.cluster.repositories.get.GetRepositoriesRequestBuilder
public class GetRepositoriesRequestBuilder
extends MasterNodeReadOperationRequestBuilder<GetRepositoriesRequest,GetRepositoriesResponse,GetRepositoriesRequestBuilder>
Get repository request builder
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionGetRepositoriesRequestBuilder(ElasticsearchClient client, GetRepositoriesAction action)
Creates new get repository request builderGetRepositoriesRequestBuilder(ElasticsearchClient client, GetRepositoriesAction action, String... repositories)
Creates new get repository request builder -
Method Summary
Modifier and TypeMethodDescriptionaddRepositories(String... repositories)
Adds repositories to the list of repositories to getsetRepositories(String... repositories)
Sets list of repositories to getMethods inherited from class org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder
setLocal
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
GetRepositoriesRequestBuilder
Creates new get repository request builder -
GetRepositoriesRequestBuilder
public GetRepositoriesRequestBuilder(ElasticsearchClient client, GetRepositoriesAction action, String... repositories)Creates new get repository request builder
-
-
Method Details
-
setRepositories
Sets list of repositories to get- Parameters:
repositories
- list of repositories- Returns:
- builder
-
addRepositories
Adds repositories to the list of repositories to get- Parameters:
repositories
- list of repositories- Returns:
- builder
-