Class IndicesRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cat.IndicesRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<IndicesRequest>
- Enclosing class:
- IndicesRequest
public static class IndicesRequest.Builder extends java.lang.Object implements ObjectBuilder<IndicesRequest>
Builder for
IndicesRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndicesRequest.Builder
addExpandWildcards(ExpandWildcardOptions value)
Add a value toexpandWildcards(List)
, creating the list if needed.IndicesRequest.Builder
addIndex(java.lang.String value)
Add a value toindex(List)
, creating the list if needed.IndicesRequest
build()
Builds aIndicesRequest
.IndicesRequest.Builder
bytes(Bytes value)
The unit in which to display byte valuesIndicesRequest.Builder
expandWildcards(ExpandWildcardOptions... value)
Whether to expand wildcard expression to concrete indices that are open, closed or both.IndicesRequest.Builder
expandWildcards(java.util.List<ExpandWildcardOptions> value)
Whether to expand wildcard expression to concrete indices that are open, closed or both.IndicesRequest.Builder
health(Health value)
A health status ("green", "yellow", or "red" to filter only indices matching the specified health statusIndicesRequest.Builder
includeUnloadedSegments(java.lang.Boolean value)
If set to true segment stats will include stats for segments that are not currently loaded into memoryIndicesRequest.Builder
index(java.lang.String... value)
A comma-separated list of index names to limit the returned informationIndicesRequest.Builder
index(java.util.List<java.lang.String> value)
A comma-separated list of index names to limit the returned informationIndicesRequest.Builder
pri(java.lang.Boolean value)
Set to true to return stats only for primary shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
A comma-separated list of index names to limit the returned informationAPI name:
index
-
index
A comma-separated list of index names to limit the returned informationAPI name:
index
-
addIndex
Add a value toindex(List)
, creating the list if needed. -
bytes
The unit in which to display byte valuesAPI name:
bytes
-
expandWildcards
public IndicesRequest.Builder expandWildcards(@Nullable java.util.List<ExpandWildcardOptions> value)Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
addExpandWildcards
Add a value toexpandWildcards(List)
, creating the list if needed. -
health
A health status ("green", "yellow", or "red" to filter only indices matching the specified health statusAPI name:
health
-
includeUnloadedSegments
If set to true segment stats will include stats for segments that are not currently loaded into memoryAPI name:
include_unloaded_segments
-
pri
Set to true to return stats only for primary shardsAPI name:
pri
-
build
Builds aIndicesRequest
.- Specified by:
build
in interfaceObjectBuilder<IndicesRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-