Class GeoShapeQueryField.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.GeoShapeQueryField.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoShapeQueryField.Builder,,GeoShapeQueryField> MutableBuilder<GeoShapeQueryField.Builder,,GeoShapeQueryField> ObjectBuilder<GeoShapeQueryField>
- Enclosing class:
GeoShapeQueryField
public static class GeoShapeQueryField.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GeoShapeQueryField.Builder,GeoShapeQueryField>
Builder for
GeoShapeQueryField.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoShapeQueryField.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:indexed_shapeindexedShape(FieldLookup value) API name:indexed_shaperelation(GeoShapeRelation value) API name:relationRequired - API name:shapeRequired - API name:shapeMethods 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<GeoShapeQueryField.Builder,GeoShapeQueryField> - Returns:
- a new builder instance.
-
indexedShape
API name:indexed_shape -
indexedShape
@Nonnull public final GeoShapeQueryField.Builder indexedShape(Function<FieldLookup.Builder, ObjectBuilder<FieldLookup>> fn) API name:indexed_shape -
relation
API name:relation -
shape
Required - API name:shape -
shape
@Nonnull public final GeoShapeQueryField.Builder shape(Function<GeoShape.Builder, ObjectBuilder<GeoShape>> fn) Required - API name:shape -
build
Builds aGeoShapeQueryField.- Specified by:
buildin interfaceObjectBuilder<GeoShapeQueryField>- Throws:
NullPointerException- if some of the required fields are null.
-