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 ObjectPropertybuild()Builds aObjectProperty.ObjectProperty.Builderenabled(java.lang.Boolean value)API name:enabledprotected ObjectProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
addCopyTo, copyTo, copyTo, similarity, storeMethods 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, putPropertiesMethods 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:
selfin classPropertyBase.AbstractBuilder<ObjectProperty.Builder>
-
build
Builds aObjectProperty.- Specified by:
buildin interfaceObjectBuilder<ObjectProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-