Class ShortNumberProperty.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<ShortNumberProperty.Builder>
-
- org.opensearch.client.opensearch._types.mapping.ShortNumberProperty.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ShortNumberProperty>
- Enclosing class:
- ShortNumberProperty
public static class ShortNumberProperty.Builder extends StandardNumberProperty.AbstractBuilder<ShortNumberProperty.Builder> implements ObjectBuilder<ShortNumberProperty>
Builder forShortNumberProperty
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortNumberProperty
build()
Builds aShortNumberProperty
.ShortNumberProperty.Builder
nullValue(java.lang.Number value)
API name:null_value
protected ShortNumberProperty.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 ShortNumberProperty.Builder nullValue(@Nullable java.lang.Number value)
API name:null_value
-
self
protected ShortNumberProperty.Builder self()
- Specified by:
self
in classPropertyBase.AbstractBuilder<ShortNumberProperty.Builder>
-
build
public ShortNumberProperty build()
Builds aShortNumberProperty
.- Specified by:
build
in interfaceObjectBuilder<ShortNumberProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-