Class IndicesShardStoreRequestBuilder
- java.lang.Object
-
- org.elasticsearch.action.ActionRequestBuilder<Request,Response,RequestBuilder>
-
- 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 forIndicesShardStoresRequest
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
-
Constructor Summary
Constructors Constructor Description IndicesShardStoreRequestBuilder(ElasticsearchClient client, Action<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder> action, java.lang.String... indices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndicesShardStoreRequestBuildersetIndices(java.lang.String... indices)Sets the indices for the shard stores requestIndicesShardStoreRequestBuildersetIndicesOptions(IndicesOptions indicesOptions)Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indicesIndicesShardStoreRequestBuildersetShardStatuses(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 Detail
-
IndicesShardStoreRequestBuilder
public IndicesShardStoreRequestBuilder(ElasticsearchClient client, Action<IndicesShardStoresRequest,IndicesShardStoresResponse,IndicesShardStoreRequestBuilder> action, java.lang.String... indices)
-
-
Method Detail
-
setIndices
public IndicesShardStoreRequestBuilder setIndices(java.lang.String... indices)
Sets the indices for the shard stores request
-
setIndicesOptions
public IndicesShardStoreRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and wildcard indices expressions By default, expands wildcards to both open and closed indices
-
setShardStatuses
public IndicesShardStoreRequestBuilder setShardStatuses(java.lang.String... shardStatuses)
Set statuses to filter shards to get stores info on.- Parameters:
shardStatuses- acceptable values are "green", "yellow", "red" and "all" seeClusterHealthStatusfor details
-
-