Class TokenCountProperty.Builder
java.lang.Object
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:
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
addCopyTo, copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putProperties
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
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.
-