Class GeoHashGridBucket.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder<GeoHashGridBucket.Builder>
org.opensearch.client.opensearch._types.aggregations.GeoHashGridBucket.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoHashGridBucket.Builder,,GeoHashGridBucket> MutableBuilder<GeoHashGridBucket.Builder,,GeoHashGridBucket> ObjectBuilder<GeoHashGridBucket>
- Enclosing class:
GeoHashGridBucket
public static class GeoHashGridBucket.Builder
extends MultiBucketBase.AbstractBuilder<GeoHashGridBucket.Builder>
implements CopyableBuilder<GeoHashGridBucket.Builder,GeoHashGridBucket>
Builder for
GeoHashGridBucket.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoHashGridBucket.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:keyprotected GeoHashGridBucket.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations, aggregations, aggregations, docCountMethods 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<GeoHashGridBucket.Builder,GeoHashGridBucket> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classMultiBucketBase.AbstractBuilder<GeoHashGridBucket.Builder>
-
key
Required - API name:key -
build
Builds aGeoHashGridBucket.- Specified by:
buildin interfaceObjectBuilder<GeoHashGridBucket>- Throws:
NullPointerException- if some of the required fields are null.
-