Class KeywordProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<KeywordProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<KeywordProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<KeywordProperty.Builder>
org.opensearch.client.opensearch._types.mapping.KeywordProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<KeywordProperty.Builder,,KeywordProperty> MutableBuilder<KeywordProperty.Builder,,KeywordProperty> ObjectBuilder<KeywordProperty>
- Enclosing class:
KeywordProperty
public static class KeywordProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<KeywordProperty.Builder>
implements CopyableBuilder<KeywordProperty.Builder,KeywordProperty>
Builder for
KeywordProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal KeywordProperty.BuilderAPI name:boostbuild()Builds aKeywordProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.final KeywordProperty.BuildereagerGlobalOrdinals(Boolean value) API name:eager_global_ordinalsfinal KeywordProperty.BuilderAPI name:indexfinal KeywordProperty.BuilderindexOptions(IndexOptions value) API name:index_optionsfinal KeywordProperty.Buildernormalizer(String value) API name:normalizerfinal KeywordProperty.BuilderAPI name:normsfinal KeywordProperty.BuilderAPI name:null_valueprotected KeywordProperty.Builderself()final KeywordProperty.BuildersplitQueriesOnWhitespace(Boolean value) API name:split_queries_on_whitespaceMethods 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<KeywordProperty.Builder,KeywordProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<KeywordProperty.Builder>
-
boost
API name:boost -
eagerGlobalOrdinals
API name:eager_global_ordinals -
index
API name:index -
indexOptions
API name:index_options -
normalizer
API name:normalizer -
norms
API name:norms -
nullValue
API name:null_value -
splitQueriesOnWhitespace
API name:split_queries_on_whitespace -
build
Builds aKeywordProperty.- Specified by:
buildin interfaceObjectBuilder<KeywordProperty>- Throws:
NullPointerException- if some of the required fields are null.
-