Class FieldNamesField.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FieldNamesField.Builder>
co.elastic.clients.elasticsearch._types.mapping.FieldNamesField.Builder
- All Implemented Interfaces:
WithJson<FieldNamesField.Builder>
,ObjectBuilder<FieldNamesField>
- Enclosing class:
- FieldNamesField
public static class FieldNamesField.Builder extends WithJsonObjectBuilderBase<FieldNamesField.Builder> implements ObjectBuilder<FieldNamesField>
Builder for
FieldNamesField
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FieldNamesField
build()
Builds aFieldNamesField
.FieldNamesField.Builder
enabled(boolean value)
Required - API name:enabled
protected FieldNamesField.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
Required - API name:enabled
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FieldNamesField.Builder>
-
build
Builds aFieldNamesField
.- Specified by:
build
in interfaceObjectBuilder<FieldNamesField>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-