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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SearchAsYouTypeProperty.Builder
analyzer(java.lang.String value)
API name:analyzer
SearchAsYouTypeProperty
build()
Builds aSearchAsYouTypeProperty
.SearchAsYouTypeProperty.Builder
index(java.lang.Boolean value)
API name:index
SearchAsYouTypeProperty.Builder
indexOptions(IndexOptions value)
API name:index_options
SearchAsYouTypeProperty.Builder
maxShingleSize(java.lang.Integer value)
API name:max_shingle_size
SearchAsYouTypeProperty.Builder
norms(java.lang.Boolean value)
API name:norms
SearchAsYouTypeProperty.Builder
searchAnalyzer(java.lang.String value)
API name:search_analyzer
SearchAsYouTypeProperty.Builder
searchQuoteAnalyzer(java.lang.String value)
API name:search_quote_analyzer
protected SearchAsYouTypeProperty.Builder
self()
SearchAsYouTypeProperty.Builder
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, localMetadata, localMetadata, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-