Class ConstantKeywordProperty.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.ConstantKeywordProperty.Builder
- All Implemented Interfaces:
ObjectBuilder<ConstantKeywordProperty>
- Enclosing class:
- ConstantKeywordProperty
public static class ConstantKeywordProperty.Builder extends PropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder> implements ObjectBuilder<ConstantKeywordProperty>
Builder for
ConstantKeywordProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ConstantKeywordProperty
build()
Builds aConstantKeywordProperty
.protected ConstantKeywordProperty.Builder
self()
ConstantKeywordProperty.Builder
value(JsonData value)
API name:value
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
-
value
API name:value
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder>
-
build
Builds aConstantKeywordProperty
.- Specified by:
build
in interfaceObjectBuilder<ConstantKeywordProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-