Class FlattenedProperty.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<FlattenedProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.FlattenedProperty.Builder
- All Implemented Interfaces:
ObjectBuilder<FlattenedProperty>
- Enclosing class:
- FlattenedProperty
public static class FlattenedProperty.Builder extends PropertyBase.AbstractBuilder<FlattenedProperty.Builder> implements ObjectBuilder<FlattenedProperty>
Builder for
FlattenedProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FlattenedProperty.Builder
boost(java.lang.Double value)
API name:boost
FlattenedProperty
build()
Builds aFlattenedProperty
.FlattenedProperty.Builder
depthLimit(java.lang.Integer value)
API name:depth_limit
FlattenedProperty.Builder
docValues(java.lang.Boolean value)
API name:doc_values
FlattenedProperty.Builder
eagerGlobalOrdinals(java.lang.Boolean value)
API name:eager_global_ordinals
FlattenedProperty.Builder
index(java.lang.Boolean value)
API name:index
FlattenedProperty.Builder
indexOptions(IndexOptions value)
API name:index_options
FlattenedProperty.Builder
nullValue(java.lang.String value)
API name:null_value
protected FlattenedProperty.Builder
self()
FlattenedProperty.Builder
similarity(java.lang.String value)
API name:similarity
FlattenedProperty.Builder
splitQueriesOnWhitespace(java.lang.Boolean value)
API name:split_queries_on_whitespace
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putProperties
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
-
boost
API name:boost
-
depthLimit
API name:depth_limit
-
docValues
API name:doc_values
-
eagerGlobalOrdinals
API name:eager_global_ordinals
-
index
API name:index
-
indexOptions
API name:index_options
-
nullValue
API name:null_value
-
similarity
API name:similarity
-
splitQueriesOnWhitespace
API name:split_queries_on_whitespace
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<FlattenedProperty.Builder>
-
build
Builds aFlattenedProperty
.- Specified by:
build
in interfaceObjectBuilder<FlattenedProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-