Class AggregationProfileDelegateDebug.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.search.AggregationProfileDelegateDebug.Builder
-
- All Implemented Interfaces:
ObjectBuilder<AggregationProfileDelegateDebug>
- Enclosing class:
- AggregationProfileDelegateDebug
public static class AggregationProfileDelegateDebug.Builder extends ObjectBuilderBase implements ObjectBuilder<AggregationProfileDelegateDebug>
Builder forAggregationProfileDelegateDebug.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
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: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(java.util.function.Function<AggregationProfileDelegateDebugFilter.Builder,ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn)
API name:filtersAdds a value to
filtersusing 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
public AggregationProfileDelegateDebug build()
Builds aAggregationProfileDelegateDebug.- Specified by:
buildin interfaceObjectBuilder<AggregationProfileDelegateDebug>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-