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