Class TokenCountProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<TokenCountProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<TokenCountProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
org.opensearch.client.opensearch._types.mapping.TokenCountProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<TokenCountProperty.Builder,,TokenCountProperty> MutableBuilder<TokenCountProperty.Builder,,TokenCountProperty> ObjectBuilder<TokenCountProperty>
- Enclosing class:
TokenCountProperty
public static class TokenCountProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
implements CopyableBuilder<TokenCountProperty.Builder,TokenCountProperty>
Builder for
TokenCountProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAPI name:analyzerAPI name:boostbuild()Builds aTokenCountProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.enablePositionIncrements(Boolean value) API name:enable_position_incrementsAPI name:indexAPI name:null_valueprotected TokenCountProperty.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods 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<TokenCountProperty.Builder,TokenCountProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
-
analyzer
API name:analyzer -
boost
API name:boost -
enablePositionIncrements
API name:enable_position_increments -
index
API name:index -
nullValue
API name:null_value -
build
Builds aTokenCountProperty.- Specified by:
buildin interfaceObjectBuilder<TokenCountProperty>- Throws:
NullPointerException- if some of the required fields are null.
-