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