Class IndexField.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexField.Builder>
co.elastic.clients.elasticsearch._types.mapping.IndexField.Builder
- All Implemented Interfaces:
WithJson<IndexField.Builder>,ObjectBuilder<IndexField>
- Enclosing class:
- IndexField
public static class IndexField.Builder
extends WithJsonObjectBuilderBase<IndexField.Builder>
implements ObjectBuilder<IndexField>
Builder for
IndexField.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexField.final IndexField.Builderenabled(boolean value) Required - API name:enabledprotected IndexField.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Required - API name:enabled -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexField.Builder>
-
build
Builds aIndexField.- Specified by:
buildin interfaceObjectBuilder<IndexField>- Throws:
NullPointerException- if some of the required fields are null.
-