Class SearchAsYouTypeProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.SearchAsYouTypeProperty.Builder
- All Implemented Interfaces:
WithJson<SearchAsYouTypeProperty.Builder>
,ObjectBuilder<SearchAsYouTypeProperty>
- Enclosing class:
- SearchAsYouTypeProperty
public static class SearchAsYouTypeProperty.Builder
extends CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
implements ObjectBuilder<SearchAsYouTypeProperty>
Builder for
SearchAsYouTypeProperty
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAPI name:analyzer
build()
Builds aSearchAsYouTypeProperty
.API name:index
indexOptions
(IndexOptions value) API name:index_options
maxShingleSize
(Integer value) API name:max_shingle_size
API name:norms
searchAnalyzer
(String value) API name:search_analyzer
searchQuoteAnalyzer
(String value) API name:search_quote_analyzer
protected SearchAsYouTypeProperty.Builder
self()
termVector
(TermVectorOption value) API name:term_vector
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, properties
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
-
build
Builds aSearchAsYouTypeProperty
.- Specified by:
build
in interfaceObjectBuilder<SearchAsYouTypeProperty>
- Throws:
NullPointerException
- if some of the required fields are null.
-