Class TextIndexPrefixes.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.TextIndexPrefixes.Builder
- All Implemented Interfaces:
CopyableBuilder<TextIndexPrefixes.Builder,,TextIndexPrefixes> MutableBuilder<TextIndexPrefixes.Builder,,TextIndexPrefixes> ObjectBuilder<TextIndexPrefixes>
- Enclosing class:
TextIndexPrefixes
public static class TextIndexPrefixes.Builder
extends ObjectBuilderBase
implements CopyableBuilder<TextIndexPrefixes.Builder,TextIndexPrefixes>
Builder for
TextIndexPrefixes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTextIndexPrefixes.copy()Create a new builderCopyableBuilderthat is a copy of this one.maxChars(int value) Required - API name:max_charsminChars(int value) Required - API name:min_charsMethods 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<TextIndexPrefixes.Builder,TextIndexPrefixes> - Returns:
- a new builder instance.
-
maxChars
Required - API name:max_chars -
minChars
Required - API name:min_chars -
build
Builds aTextIndexPrefixes.- Specified by:
buildin interfaceObjectBuilder<TextIndexPrefixes>- Throws:
NullPointerException- if some of the required fields are null.
-