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
-
Constructor Summary
Constructors Constructor Description IndicesShardStoreRequestBuilder(ElasticsearchClient client, ActionType<IndicesShardStoresResponse> action, java.lang.String... indices)
-
Method Summary
Modifier and Type Method Description IndicesShardStoreRequestBuilder
setIndices(java.lang.String... indices)
Sets the indices for the shard stores requestIndicesShardStoreRequestBuilder
setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indicesIndicesShardStoreRequestBuilder
setShardStatuses(java.lang.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, java.lang.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
-