Class GeoHashGridAggregation.Builder
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.Aggregation.AbstractBuilder<BuilderT>
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase.AbstractBuilder<GeoHashGridAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.GeoHashGridAggregation.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoHashGridAggregation>
- Enclosing class:
- GeoHashGridAggregation
public static class GeoHashGridAggregation.Builder extends BucketAggregationBase.AbstractBuilder<GeoHashGridAggregation.Builder> implements ObjectBuilder<GeoHashGridAggregation>
Builder for
GeoHashGridAggregation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoHashGridAggregation.Builderbounds(java.util.function.Function<BoundingBox.Builder,ObjectBuilder<BoundingBox>> fn)API name:boundsGeoHashGridAggregation.Builderbounds(BoundingBox value)API name:boundsGeoHashGridAggregationbuild()Builds aGeoHashGridAggregation.GeoHashGridAggregation.Builderfield(java.lang.String value)API name:fieldGeoHashGridAggregation.Builderprecision(java.lang.Number value)API name:precisionprotected GeoHashGridAggregation.Builderself()GeoHashGridAggregation.BuildershardSize(java.lang.Number value)API name:shard_sizeGeoHashGridAggregation.Buildersize(java.lang.Number value)API name:sizeMethods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase.AbstractBuilder
aggregations, aggregations, putAggregations, putAggregationsMethods inherited from class org.opensearch.client.opensearch._types.aggregations.Aggregation.AbstractBuilder
meta, name, putMeta
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bounds
API name:bounds -
bounds
public GeoHashGridAggregation.Builder bounds(java.util.function.Function<BoundingBox.Builder,ObjectBuilder<BoundingBox>> fn)API name:bounds -
field
API name:field -
precision
API name:precision -
shardSize
API name:shard_size -
size
API name:size -
self
- Specified by:
selfin classAggregation.AbstractBuilder<GeoHashGridAggregation.Builder>
-
build
Builds aGeoHashGridAggregation.- Specified by:
buildin interfaceObjectBuilder<GeoHashGridAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-