Class CoordsGeoBounds.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.CoordsGeoBounds.Builder
- All Implemented Interfaces:
CopyableBuilder<CoordsGeoBounds.Builder,,CoordsGeoBounds> MutableBuilder<CoordsGeoBounds.Builder,,CoordsGeoBounds> ObjectBuilder<CoordsGeoBounds>
- Enclosing class:
CoordsGeoBounds
public static class CoordsGeoBounds.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CoordsGeoBounds.Builder,CoordsGeoBounds>
Builder for
CoordsGeoBounds.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CoordsGeoBounds.Builderbottom(double value) Required - The bottom boundary latitude.build()Builds aCoordsGeoBounds.copy()Create a new builderCopyableBuilderthat is a copy of this one.final CoordsGeoBounds.Builderleft(double value) Required - The left boundary longitude.final CoordsGeoBounds.Builderright(double value) Required - The right boundary longitude.final CoordsGeoBounds.Buildertop(double value) Required - The top boundary latitude.Methods 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<CoordsGeoBounds.Builder,CoordsGeoBounds> - Returns:
- a new builder instance.
-
bottom
Required - The bottom boundary latitude.API name:
bottom -
left
Required - The left boundary longitude.API name:
left -
right
Required - The right boundary longitude.API name:
right -
top
Required - The top boundary latitude.API name:
top -
build
Builds aCoordsGeoBounds.- Specified by:
buildin interfaceObjectBuilder<CoordsGeoBounds>- Throws:
NullPointerException- if some of the required fields are null.
-