Class GeoShapeProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<GeoShapeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<GeoShapeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<GeoShapeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.GeoShapeProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<GeoShapeProperty.Builder,,GeoShapeProperty> MutableBuilder<GeoShapeProperty.Builder,,GeoShapeProperty> ObjectBuilder<GeoShapeProperty>
- Enclosing class:
GeoShapeProperty
public static class GeoShapeProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<GeoShapeProperty.Builder>
implements CopyableBuilder<GeoShapeProperty.Builder,GeoShapeProperty>
Builder for
GeoShapeProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoShapeProperty.final GeoShapeProperty.BuilderAPI name:coercecopy()Create a new builderCopyableBuilderthat is a copy of this one.final GeoShapeProperty.BuilderdistanceErrorPct(Double value) API name:distance_error_pctfinal GeoShapeProperty.BuilderignoreMalformed(Boolean value) API name:ignore_malformedfinal GeoShapeProperty.BuilderignoreZValue(Boolean value) API name:ignore_z_valuefinal GeoShapeProperty.Builderorientation(GeoOrientation value) API name:orientationprotected GeoShapeProperty.Builderself()final GeoShapeProperty.Builderstrategy(GeoStrategy value) API name:strategyMethods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods 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<GeoShapeProperty.Builder,GeoShapeProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<GeoShapeProperty.Builder>
-
coerce
API name:coerce -
distanceErrorPct
API name:distance_error_pct -
ignoreMalformed
API name:ignore_malformed -
ignoreZValue
API name:ignore_z_value -
orientation
API name:orientation -
strategy
API name:strategy -
build
Builds aGeoShapeProperty.- Specified by:
buildin interfaceObjectBuilder<GeoShapeProperty>- Throws:
NullPointerException- if some of the required fields are null.
-