Class IntervalsFuzzy.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsFuzzy.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsFuzzy.Builder
- All Implemented Interfaces:
WithJson<IntervalsFuzzy.Builder>
,ObjectBuilder<IntervalsFuzzy>
- Enclosing class:
- IntervalsFuzzy
public static class IntervalsFuzzy.Builder extends WithJsonObjectBuilderBase<IntervalsFuzzy.Builder> implements ObjectBuilder<IntervalsFuzzy>
Builder for
IntervalsFuzzy
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IntervalsFuzzy.Builder
analyzer(java.lang.String value)
API name:analyzer
IntervalsFuzzy
build()
Builds aIntervalsFuzzy
.IntervalsFuzzy.Builder
fuzziness(java.lang.String value)
API name:fuzziness
IntervalsFuzzy.Builder
prefixLength(java.lang.Integer value)
API name:prefix_length
protected IntervalsFuzzy.Builder
self()
IntervalsFuzzy.Builder
term(java.lang.String value)
Required - API name:term
IntervalsFuzzy.Builder
transpositions(java.lang.Boolean value)
API name:transpositions
IntervalsFuzzy.Builder
useField(java.lang.String value)
API name:use_field
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analyzer
API name:analyzer
-
fuzziness
API name:fuzziness
-
prefixLength
API name:prefix_length
-
term
Required - API name:term
-
transpositions
API name:transpositions
-
useField
API name:use_field
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IntervalsFuzzy.Builder>
-
build
Builds aIntervalsFuzzy
.- Specified by:
build
in interfaceObjectBuilder<IntervalsFuzzy>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-