Class BooleanProperty.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<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<BooleanProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.BooleanProperty.Builder
- All Implemented Interfaces:
WithJson<BooleanProperty.Builder>,ObjectBuilder<BooleanProperty>
- Enclosing class:
- BooleanProperty
public static class BooleanProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<BooleanProperty.Builder>
implements ObjectBuilder<BooleanProperty>
Builder for
BooleanProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanProperty.BuilderAPI name:boostbuild()Builds aBooleanProperty.final BooleanProperty.Builderfielddata(NumericFielddata value) API name:fielddatafinal BooleanProperty.BuilderAPI name:fielddatafinal BooleanProperty.BuilderAPI name:indexfinal BooleanProperty.BuilderAPI name:null_valueprotected BooleanProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
boost
API name:boost -
fielddata
API name:fielddata -
fielddata
public final BooleanProperty.Builder fielddata(Function<NumericFielddata.Builder, ObjectBuilder<NumericFielddata>> fn) API name:fielddata -
index
API name:index -
nullValue
API name:null_value -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<BooleanProperty.Builder>
-
build
Builds aBooleanProperty.- Specified by:
buildin interfaceObjectBuilder<BooleanProperty>- Throws:
NullPointerException- if some of the required fields are null.
-