Class ShardStoresRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ShardStoresRequest
public class ShardStoresRequest extends RequestBase
Provides store information for shard copies of indices.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardStoresRequest.BuilderBuilder forShardStoresRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<ShardStoresRequest,ShardStoresResponse,ErrorResponse>_ENDPOINTEndpoint "indices.shard_stores". -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoIndices()If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices.java.util.List<ExpandWildcard>expandWildcards()Type of index that wildcard patterns can match.java.lang.BooleanignoreUnavailable()If true, missing or closed indices are not included in the response.java.util.List<java.lang.String>index()List of data streams, indices, and aliases used to limit the request.static ShardStoresRequestof(java.util.function.Function<ShardStoresRequest.Builder,ObjectBuilder<ShardStoresRequest>> fn)java.util.List<ShardStoreStatus>status()List of shard health statuses used to limit the request.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "indices.shard_stores".
-
-
Method Details
-
of
public static ShardStoresRequest of(java.util.function.Function<ShardStoresRequest.Builder,ObjectBuilder<ShardStoresRequest>> fn) -
allowNoIndices
@Nullable public final java.lang.Boolean allowNoIndices()If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices.API name:
allow_no_indices -
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.API name:
expand_wildcards -
index
public final java.util.List<java.lang.String> index()List of data streams, indices, and aliases used to limit the request.API name:
index -
status
List of shard health statuses used to limit the request.API name:
status
-