Class AggregationProfileDelegateDebug.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AggregationProfileDelegateDebug.Builder>
co.elastic.clients.elasticsearch.core.search.AggregationProfileDelegateDebug.Builder
- All Implemented Interfaces:
WithJson<AggregationProfileDelegateDebug.Builder>
,ObjectBuilder<AggregationProfileDelegateDebug>
- Enclosing class:
- AggregationProfileDelegateDebug
public static class AggregationProfileDelegateDebug.Builder
extends WithJsonObjectBuilderBase<AggregationProfileDelegateDebug.Builder>
implements ObjectBuilder<AggregationProfileDelegateDebug>
Builder for
AggregationProfileDelegateDebug
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAggregationProfileDelegateDebug
.filters
(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filters
filters
(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filters
API name:filters
mapReducer
(String value) API name:map_reducer
segmentsCollected
(Integer value) API name:segments_collected
segmentsCounted
(Integer value) API name:segments_counted
segmentsWithDeletedDocs
(Integer value) API name:segments_with_deleted_docs
segmentsWithDocCountField
(Integer value) API name:segments_with_doc_count_field
protected AggregationProfileDelegateDebug.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
segmentsWithDocCountField
public final AggregationProfileDelegateDebug.Builder segmentsWithDocCountField(@Nullable Integer value) API name:segments_with_doc_count_field
-
segmentsWithDeletedDocs
public final AggregationProfileDelegateDebug.Builder segmentsWithDeletedDocs(@Nullable Integer value) API name:segments_with_deleted_docs
-
filters
public final AggregationProfileDelegateDebug.Builder filters(List<AggregationProfileDelegateDebugFilter> list) API name:filters
Adds all elements of
list
tofilters
. -
filters
public final AggregationProfileDelegateDebug.Builder filters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filters
Adds one or more values to
filters
. -
filters
public final AggregationProfileDelegateDebug.Builder filters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filters
Adds a value to
filters
using a builder lambda. -
segmentsCounted
API name:segments_counted
-
segmentsCollected
API name:segments_collected
-
mapReducer
API name:map_reducer
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AggregationProfileDelegateDebug.Builder>
-
build
Builds aAggregationProfileDelegateDebug
.- Specified by:
build
in interfaceObjectBuilder<AggregationProfileDelegateDebug>
- Throws:
NullPointerException
- if some of the required fields are null.
-