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 FieldNamesFieldbuild()Builds aFieldNamesField.FieldNamesField.Builderenabled(boolean value)Required - API name:enabledprotected FieldNamesField.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classWithJsonObjectBuilderBase<FieldNamesField.Builder>
-
build
Builds aFieldNamesField.- Specified by:
buildin interfaceObjectBuilder<FieldNamesField>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-