Class IndicesShardStoreRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder>
org.elasticsearch.action.admin.indices.shards.IndicesShardStoreRequestBuilder
public class IndicesShardStoreRequestBuilder
extends MasterNodeReadOperationRequestBuilder<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder>
Request builder for
IndicesShardStoresRequest
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionIndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, String... indices)
-
Method Summary
Modifier and TypeMethodDescriptionsetIndices(String... indices)
Sets the indices for the shard stores requestsetIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indicessetShardStatuses(String... shardStatuses)
Set statuses to filter shards to get stores info on.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder
setLocal
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
IndicesShardStoreRequestBuilder
public IndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, String... indices)
-
-
Method Details
-
setIndices
Sets the indices for the shard stores request -
setIndicesOptions
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indices -
setShardStatuses
Set statuses to filter shards to get stores info on.- Parameters:
shardStatuses
- acceptable values are "green", "yellow", "red" and "all" seeClusterHealthStatus
for details
-