Class GeoBoundsAggregate.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.GeoBoundsAggregate.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoBoundsAggregate.Builder,,GeoBoundsAggregate> MutableBuilder<GeoBoundsAggregate.Builder,,GeoBoundsAggregate> ObjectBuilder<GeoBoundsAggregate>
- Enclosing class:
GeoBoundsAggregate
public static class GeoBoundsAggregate.Builder
extends AggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
implements CopyableBuilder<GeoBoundsAggregate.Builder,GeoBoundsAggregate>
Builder for
GeoBoundsAggregate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAPI name:boundsAPI name:boundsbuild()Builds aGeoBoundsAggregate.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GeoBoundsAggregate.Builderself()Methods 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<GeoBoundsAggregate.Builder,GeoBoundsAggregate> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
-
bounds
API name:bounds -
bounds
@Nonnull public final GeoBoundsAggregate.Builder bounds(Function<GeoBounds.Builder, ObjectBuilder<GeoBounds>> fn) API name:bounds -
build
Builds aGeoBoundsAggregate.- Specified by:
buildin interfaceObjectBuilder<GeoBoundsAggregate>- Throws:
NullPointerException- if some of the required fields are null.
-