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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAggregationProfileDelegateDebug.filters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filtersfilters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filtersAPI name:filtersmapReducer(String value) API name:map_reducersegmentsCollected(Integer value) API name:segments_collectedsegmentsCounted(Integer value) API name:segments_countedsegmentsWithDeletedDocs(Integer value) API name:segments_with_deleted_docssegmentsWithDocCountField(Integer value) API name:segments_with_doc_count_fieldprotected AggregationProfileDelegateDebug.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:filtersAdds all elements of
listtofilters. -
filters
public final AggregationProfileDelegateDebug.Builder filters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filtersAdds one or more values to
filters. -
filters
public final AggregationProfileDelegateDebug.Builder filters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filtersAdds a value to
filtersusing a builder lambda. -
segmentsCounted
API name:segments_counted -
segmentsCollected
API name:segments_collected -
mapReducer
API name:map_reducer -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AggregationProfileDelegateDebug.Builder>
-
build
Builds aAggregationProfileDelegateDebug.- Specified by:
buildin interfaceObjectBuilder<AggregationProfileDelegateDebug>- Throws:
NullPointerException- if some of the required fields are null.
-