Class GeoHashLocation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.GeoHashLocation.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoHashLocation.Builder,,GeoHashLocation> MutableBuilder<GeoHashLocation.Builder,,GeoHashLocation> ObjectBuilder<GeoHashLocation>
- Enclosing class:
GeoHashLocation
public static class GeoHashLocation.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GeoHashLocation.Builder,GeoHashLocation>
Builder for
GeoHashLocation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoHashLocation.copy()Create a new builderCopyableBuilderthat is a copy of this one.final GeoHashLocation.BuilderRequired - API name:geohashMethods 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<GeoHashLocation.Builder,GeoHashLocation> - Returns:
- a new builder instance.
-
geohash
Required - API name:geohash -
build
Builds aGeoHashLocation.- Specified by:
buildin interfaceObjectBuilder<GeoHashLocation>- Throws:
NullPointerException- if some of the required fields are null.
-