Class SearchAsYouTypeProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.SearchAsYouTypeProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<SearchAsYouTypeProperty.Builder,,SearchAsYouTypeProperty> MutableBuilder<SearchAsYouTypeProperty.Builder,,SearchAsYouTypeProperty> ObjectBuilder<SearchAsYouTypeProperty>
- Enclosing class:
SearchAsYouTypeProperty
public static class SearchAsYouTypeProperty.Builder
extends CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
implements CopyableBuilder<SearchAsYouTypeProperty.Builder,SearchAsYouTypeProperty>
Builder for
SearchAsYouTypeProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAPI name:analyzerbuild()Builds aSearchAsYouTypeProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:indexindexOptions(IndexOptions value) API name:index_optionsmaxShingleSize(Integer value) API name:max_shingle_sizeAPI name:normssearchAnalyzer(String value) API name:search_analyzersearchQuoteAnalyzer(String value) API name:search_quote_analyzerprotected SearchAsYouTypeProperty.Builderself()termVector(TermVectorOption value) API name:term_vectorMethods 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<SearchAsYouTypeProperty.Builder,SearchAsYouTypeProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
-
analyzer
API name:analyzer -
index
API name:index -
indexOptions
API name:index_options -
maxShingleSize
API name:max_shingle_size -
norms
API name:norms -
searchAnalyzer
API name:search_analyzer -
searchQuoteAnalyzer
API name:search_quote_analyzer -
termVector
API name:term_vector -
build
Builds aSearchAsYouTypeProperty.- Specified by:
buildin interfaceObjectBuilder<SearchAsYouTypeProperty>- Throws:
NullPointerException- if some of the required fields are null.
-