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:
ObjectBuilder<GeoBoundsAggregate>
- Enclosing class:
- GeoBoundsAggregate
public static class GeoBoundsAggregate.Builder extends AggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder> implements ObjectBuilder<GeoBoundsAggregate>
Builder forGeoBoundsAggregate.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoBoundsAggregate.Builderbounds(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required - API name:boundsGeoBoundsAggregate.Builderbounds(GeoBounds value)Required - API name:boundsGeoBoundsAggregatebuild()Builds aGeoBoundsAggregate.protected GeoBoundsAggregate.Builderself()-
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
-
bounds
public final GeoBoundsAggregate.Builder bounds(GeoBounds value)
Required - API name:bounds
-
bounds
public final GeoBoundsAggregate.Builder bounds(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)
Required - API name:bounds
-
self
protected GeoBoundsAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
-
build
public GeoBoundsAggregate build()
Builds aGeoBoundsAggregate.- Specified by:
buildin interfaceObjectBuilder<GeoBoundsAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-