Class TokenCountProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.TokenCountProperty.Builder
- All Implemented Interfaces:
WithJson<TokenCountProperty.Builder>
,ObjectBuilder<TokenCountProperty>
- Enclosing class:
- TokenCountProperty
public static class TokenCountProperty.Builder extends DocValuesPropertyBase.AbstractBuilder<TokenCountProperty.Builder> implements ObjectBuilder<TokenCountProperty>
Builder for
TokenCountProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TokenCountProperty.Builder
analyzer(java.lang.String value)
API name:analyzer
TokenCountProperty.Builder
boost(java.lang.Double value)
API name:boost
TokenCountProperty
build()
Builds aTokenCountProperty
.TokenCountProperty.Builder
enablePositionIncrements(java.lang.Boolean value)
API name:enable_position_increments
TokenCountProperty.Builder
index(java.lang.Boolean value)
API name:index
TokenCountProperty.Builder
nullValue(java.lang.Double value)
API name:null_value
protected TokenCountProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValues
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, properties, properties, properties
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
-
boost
API name:boost
-
index
API name:index
-
nullValue
API name:null_value
-
enablePositionIncrements
public final TokenCountProperty.Builder enablePositionIncrements(@Nullable java.lang.Boolean value)API name:enable_position_increments
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
-
build
Builds aTokenCountProperty
.- Specified by:
build
in interfaceObjectBuilder<TokenCountProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-