Class GlobalAggregate.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder<GlobalAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.GlobalAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GlobalAggregate>
- Enclosing class:
- GlobalAggregate
public static class GlobalAggregate.Builder extends SingleBucketAggregateBase.AbstractBuilder<GlobalAggregate.Builder> implements ObjectBuilder<GlobalAggregate>
Builder forGlobalAggregate.
-
-
Field Summary
-
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalAggregatebuild()Builds aGlobalAggregate.protected GlobalAggregate.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations, aggregations, aggregations, docCount
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected GlobalAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<GlobalAggregate.Builder>
-
build
public GlobalAggregate build()
Builds aGlobalAggregate.- Specified by:
buildin interfaceObjectBuilder<GlobalAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-