Class BooleanProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<BooleanProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<BooleanProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<BooleanProperty.Builder>
org.opensearch.client.opensearch._types.mapping.BooleanProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<BooleanProperty.Builder,,BooleanProperty> MutableBuilder<BooleanProperty.Builder,,BooleanProperty> ObjectBuilder<BooleanProperty>
- Enclosing class:
BooleanProperty
public static class BooleanProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<BooleanProperty.Builder>
implements CopyableBuilder<BooleanProperty.Builder,BooleanProperty>
Builder for
BooleanProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanProperty.BuilderAPI name:boostbuild()Builds aBooleanProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.final BooleanProperty.BuilderAPI name:fielddatafinal BooleanProperty.Builderfielddata(NumericFielddata value) API name:fielddatafinal BooleanProperty.BuilderAPI name:indexfinal BooleanProperty.BuilderAPI name:null_valueprotected BooleanProperty.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods 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<BooleanProperty.Builder,BooleanProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<BooleanProperty.Builder>
-
boost
API name:boost -
fielddata
API name:fielddata -
fielddata
@Nonnull public final BooleanProperty.Builder fielddata(Function<NumericFielddata.Builder, ObjectBuilder<NumericFielddata>> fn) API name:fielddata -
index
API name:index -
nullValue
API name:null_value -
build
Builds aBooleanProperty.- Specified by:
buildin interfaceObjectBuilder<BooleanProperty>- Throws:
NullPointerException- if some of the required fields are null.
-