Class ObjectProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<ObjectProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.ObjectProperty.Builder
- All Implemented Interfaces:
ObjectBuilder<ObjectProperty>
- Enclosing class:
- ObjectProperty
public static class ObjectProperty.Builder extends CorePropertyBase.AbstractBuilder<ObjectProperty.Builder> implements ObjectBuilder<ObjectProperty>
Builder for
ObjectProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ObjectProperty
build()
Builds aObjectProperty
.ObjectProperty.Builder
enabled(java.lang.Boolean value)
API name:enabled
protected ObjectProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, properties
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
enabled
API name:enabled
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<ObjectProperty.Builder>
-
build
Builds aObjectProperty
.- Specified by:
build
in interfaceObjectBuilder<ObjectProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-