Class ObjectProperty.Builder
java.lang.Object
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
addCopyTo, copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putProperties
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.
-