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.Builderanalyzer(java.lang.String value)API name:analyzerTokenCountProperty.Builderboost(java.lang.Double value)API name:boostTokenCountPropertybuild()Builds aTokenCountProperty.TokenCountProperty.BuilderenablePositionIncrements(java.lang.Boolean value)API name:enable_position_incrementsTokenCountProperty.Builderindex(java.lang.Boolean value)API name:indexTokenCountProperty.BuildernullValue(java.lang.Double value)API name:null_valueprotected TokenCountProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
addCopyTo, copyTo, copyTo, similarity, storeMethods 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, putPropertiesMethods 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:
selfin classPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
-
build
Builds aTokenCountProperty.- Specified by:
buildin interfaceObjectBuilder<TokenCountProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-