Class GeoDistanceAggregate.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<GeoDistanceAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder<RangeBucket,GeoDistanceAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.RangeAggregateBase.AbstractBuilder<GeoDistanceAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.GeoDistanceAggregate.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoDistanceAggregate.Builder,,GeoDistanceAggregate> MutableBuilder<GeoDistanceAggregate.Builder,,GeoDistanceAggregate> ObjectBuilder<GeoDistanceAggregate>
- Enclosing class:
GeoDistanceAggregate
public static class GeoDistanceAggregate.Builder
extends RangeAggregateBase.AbstractBuilder<GeoDistanceAggregate.Builder>
implements CopyableBuilder<GeoDistanceAggregate.Builder,GeoDistanceAggregate>
Builder for
GeoDistanceAggregate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoDistanceAggregate.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GeoDistanceAggregate.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder
buckets, bucketsMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<GeoDistanceAggregate.Builder,GeoDistanceAggregate> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<GeoDistanceAggregate.Builder>
-
build
Builds aGeoDistanceAggregate.- Specified by:
buildin interfaceObjectBuilder<GeoDistanceAggregate>- Throws:
NullPointerException- if some of the required fields are null.
-