Class AggregationProfile.Builder
java.lang.Object
co.elastic.clients.elasticsearch.core.search.AggregationProfile.Builder
- All Implemented Interfaces:
ObjectBuilder<AggregationProfile>
- Enclosing class:
- AggregationProfile
public static class AggregationProfile.Builder extends java.lang.Object implements ObjectBuilder<AggregationProfile>
Builder for
AggregationProfile.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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
-
breakdown
Required - API name:breakdown -
breakdown
public AggregationProfile.Builder breakdown(java.util.function.Function<AggregationBreakdown.Builder,ObjectBuilder<AggregationBreakdown>> fn)Required - API name:breakdown -
description
Required - API name:description -
timeInNanos
Required - API name:time_in_nanos -
type
Required - API name:type -
debug
API name:debug -
debug
public AggregationProfile.Builder debug(java.util.function.Function<AggregationProfileDebug.Builder,ObjectBuilder<AggregationProfileDebug>> fn)API name:debug -
children
public AggregationProfile.Builder children(@Nullable java.util.List<AggregationProfileDebug> value)API name:children -
children
API name:children -
addChildren
Add a value tochildren(List), creating the list if needed. -
children
public AggregationProfile.Builder children(java.util.function.Function<AggregationProfileDebug.Builder,ObjectBuilder<AggregationProfileDebug>> fn)Setchildren(List)to a singleton list. -
addChildren
public AggregationProfile.Builder addChildren(java.util.function.Function<AggregationProfileDebug.Builder,ObjectBuilder<AggregationProfileDebug>> fn)Add a value tochildren(List), creating the list if needed. -
build
Builds aAggregationProfile.- Specified by:
buildin interfaceObjectBuilder<AggregationProfile>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-