Class IndicesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.IndicesRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<IndicesRequest>
- Enclosing class:
- IndicesRequest
public static class IndicesRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<IndicesRequest>
Builder for
IndicesRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndicesRequestbuild()Builds aIndicesRequest.IndicesRequest.Builderbytes(Bytes value)The unit in which to display byte valuesIndicesRequest.BuilderexpandWildcards(ExpandWildcard value, ExpandWildcard... values)Whether to expand wildcard expression to concrete indices that are open, closed or both.IndicesRequest.BuilderexpandWildcards(java.util.List<ExpandWildcard> list)Whether to expand wildcard expression to concrete indices that are open, closed or both.IndicesRequest.Builderhealth(HealthStatus value)A health status ("green", "yellow", or "red" to filter only indices matching the specified health statusIndicesRequest.BuilderincludeUnloadedSegments(java.lang.Boolean value)If set to true segment stats will include stats for segments that are not currently loaded into memoryIndicesRequest.Builderindex(java.lang.String value, java.lang.String... values)A comma-separated list of index names to limit the returned informationIndicesRequest.Builderindex(java.util.List<java.lang.String> list)A comma-separated list of index names to limit the returned informationIndicesRequest.Builderpri(java.lang.Boolean value)Set to true to return stats only for primary shardsMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
The unit in which to display byte valuesAPI name:
bytes -
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcardsAdds all elements of
listtoexpandWildcards. -
expandWildcards
public final IndicesRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values)Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcardsAdds one or more values to
expandWildcards. -
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 -
index
A comma-separated list of index names to limit the returned informationAPI name:
indexAdds all elements of
listtoindex. -
index
A comma-separated list of index names to limit the returned informationAPI name:
indexAdds one or more values to
index. -
pri
Set to true to return stats only for primary shardsAPI name:
pri -
build
Builds aIndicesRequest.- Specified by:
buildin interfaceObjectBuilder<IndicesRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-