Class AggregationProfileDelegateDebug.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.search.AggregationProfileDelegateDebug.Builder
- All Implemented Interfaces:
ObjectBuilder<AggregationProfileDelegateDebug>
- Enclosing class:
- AggregationProfileDelegateDebug
public static class AggregationProfileDelegateDebug.Builder extends ObjectBuilderBase implements ObjectBuilder<AggregationProfileDelegateDebug>
Builder for
AggregationProfileDelegateDebug
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
segmentsWithDocCountField
public final AggregationProfileDelegateDebug.Builder segmentsWithDocCountField(@Nullable java.lang.Integer value)API name:segments_with_doc_count_field
-
segmentsWithDeletedDocs
public final AggregationProfileDelegateDebug.Builder segmentsWithDeletedDocs(@Nullable java.lang.Integer value)API name:segments_with_deleted_docs
-
filters
public final AggregationProfileDelegateDebug.Builder filters(java.util.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(java.util.function.Function<AggregationProfileDelegateDebugFilter.Builder,ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn)API name:filters
Adds a value to
filters
using a builder lambda. -
segmentsCounted
public final AggregationProfileDelegateDebug.Builder segmentsCounted(@Nullable java.lang.Integer value)API name:segments_counted
-
segmentsCollected
public final AggregationProfileDelegateDebug.Builder segmentsCollected(@Nullable java.lang.Integer value)API name:segments_collected
-
build
Builds aAggregationProfileDelegateDebug
.- Specified by:
build
in interfaceObjectBuilder<AggregationProfileDelegateDebug>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-