Class AggregationProfile.Builder
java.lang.Object
org.opensearch.client.opensearch._global.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AggregationProfile.BuilderaddChildren(jakarta.json.JsonValue value)Add a value tochildren(List), creating the list if needed.AggregationProfile.Builderbreakdown(java.util.function.Function<AggregationBreakdown.Builder,ObjectBuilder<AggregationBreakdown>> fn)API name:breakdownAggregationProfile.Builderbreakdown(AggregationBreakdown value)API name:breakdownAggregationProfilebuild()Builds aAggregationProfile.AggregationProfile.Builderchildren(jakarta.json.JsonValue... value)API name:childrenAggregationProfile.Builderchildren(java.util.List<jakarta.json.JsonValue> value)API name:childrenAggregationProfile.Builderdebug(jakarta.json.JsonValue value)API name:debugAggregationProfile.Builderdescription(java.lang.String value)API name:descriptionAggregationProfile.BuildertimeInNanos(java.lang.Number value)API name:time_in_nanosAggregationProfile.Buildertype(java.lang.String value)API name:type
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
breakdown
API name:breakdown -
breakdown
public AggregationProfile.Builder breakdown(java.util.function.Function<AggregationBreakdown.Builder,ObjectBuilder<AggregationBreakdown>> fn)API name:breakdown -
description
API name:description -
timeInNanos
API name:time_in_nanos -
type
API name:type -
debug
API name:debug -
children
API name:children -
children
API name:children -
addChildren
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.
-