Class HalfFloatNumberProperty.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.mapping.NumberPropertyBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.mapping.StandardNumberProperty.AbstractBuilder<HalfFloatNumberProperty.Builder>
-
- org.opensearch.client.opensearch._types.mapping.HalfFloatNumberProperty.Builder
-
- All Implemented Interfaces:
ObjectBuilder<HalfFloatNumberProperty>
- Enclosing class:
- HalfFloatNumberProperty
public static class HalfFloatNumberProperty.Builder extends StandardNumberProperty.AbstractBuilder<HalfFloatNumberProperty.Builder> implements ObjectBuilder<HalfFloatNumberProperty>
Builder forHalfFloatNumberProperty
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HalfFloatNumberProperty
build()
Builds aHalfFloatNumberProperty
.HalfFloatNumberProperty.Builder
nullValue(java.lang.Float value)
API name:null_value
protected HalfFloatNumberProperty.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.StandardNumberProperty.AbstractBuilder
coerce, onScriptError, script, script
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.NumberPropertyBase.AbstractBuilder
ignoreMalformed, index
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValues
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, properties
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
nullValue
public final HalfFloatNumberProperty.Builder nullValue(@Nullable java.lang.Float value)
API name:null_value
-
self
protected HalfFloatNumberProperty.Builder self()
- Specified by:
self
in classPropertyBase.AbstractBuilder<HalfFloatNumberProperty.Builder>
-
build
public HalfFloatNumberProperty build()
Builds aHalfFloatNumberProperty
.- Specified by:
build
in interfaceObjectBuilder<HalfFloatNumberProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-