Class IntervalsFuzzy.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.IntervalsFuzzy.Builder
- All Implemented Interfaces:
CopyableBuilder<IntervalsFuzzy.Builder,,IntervalsFuzzy> MutableBuilder<IntervalsFuzzy.Builder,,IntervalsFuzzy> ObjectBuilder<IntervalsFuzzy>
- Enclosing class:
IntervalsFuzzy
public static class IntervalsFuzzy.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IntervalsFuzzy.Builder,IntervalsFuzzy>
Builder for
IntervalsFuzzy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IntervalsFuzzy.BuilderAnalyzer used to normalize the term.build()Builds aIntervalsFuzzy.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IntervalsFuzzy.BuilderAPI name:fuzzinessfinal IntervalsFuzzy.BuilderprefixLength(Integer value) Number of beginning characters left unchanged when creating expansions.final IntervalsFuzzy.BuilderRequired - The term to match.final IntervalsFuzzy.Buildertranspositions(Boolean value) Indicates whether edits include transpositions of two adjacent characters (for example,abtoba).final IntervalsFuzzy.BuilderAPI name:use_fieldMethods 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<IntervalsFuzzy.Builder,IntervalsFuzzy> - Returns:
- a new builder instance.
-
analyzer
Analyzer used to normalize the term.API name:
analyzer -
fuzziness
API name:fuzziness -
prefixLength
Number of beginning characters left unchanged when creating expansions.API name:
prefix_length -
term
Required - The term to match.API name:
term -
transpositions
Indicates whether edits include transpositions of two adjacent characters (for example,abtoba).API name:
transpositions -
useField
API name:use_field -
build
Builds aIntervalsFuzzy.- Specified by:
buildin interfaceObjectBuilder<IntervalsFuzzy>- Throws:
NullPointerException- if some of the required fields are null.
-